Answer Posted / naresh lingampally
Stack is a data structure ,a last in, first out (LIFO)
abstract data type.
A stack can have any abstract data type as an element, but
is characterized by only two fundamental operations: push
and pop. The push operation adds to the top of the list,
hiding any items already on the stack, or initializing the
stack if it is empty. The pop operation removes an item from
the top of the list, and returns this value to the caller. A
pop either reveals previously concealed items, or results in
an empty list.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Can you please explain the difference between syntax vs logical error?
What is external variable in c?
Difference between constant pointer and pointer to a constant.
in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.
Why use int main instead of void main?
Write a program to swap two numbers without using a temporary variable?
Explain 'bus error'?
Between macros and functions,which is better to use and why?
What is getch c?
What is the advantage of a random access file?
what is the structure pointer?
What does %d do in c?
Are the outer parentheses in return statements really optional?
What is a program flowchart and explain how does it help in writing a program?
What are structure types in C?