Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
LIFO or FILO principle works on Stack - Data Structure
Home
>>
Category
>>
Programming Language (MCQ) questions
>>
Data Structure
Q. Which principle works on Stack?
- Published on 25 Aug 15
a.
FILO
b.
FIFO
c.
LILO
d.
LIFO or FILO
ANSWER: LIFO or FILO
Related Content
Networking (
207
)
Database (
97
)
C programming (
58
)
Software Engineering (
28
)
SQL (
5
)
HTML (
74
)
Web Technologies (
11
)
Data Structure (
140
)
Operating System (
96
)
Java (
25
)
Oracle (
5
)
C++ (
50
)
Algorithms (
7
)
PL/SQL (
13
)
JavaScript (
7
)
XML (
0
)
CSS (
1
)
Discussion
Nirja Shah
-Posted on 21 Nov 15
Stack works on First in last out (FILO) or Last in first out (LIFO) principle. If you add an element, it goes on the top of the stack. If you want to delete, the element that is on the top of stack, will be delete. Push() function is used to insert new elements into the Stack and Pop() function is used to delete an element from the stack. Both insertion and deletion are allowed at only one end of Stack.
➨
Post your comment / Share knowledge
Required!
Required!
Invalid Email Id!
Required!
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
MCQs
English
Tutorials
Download
▲