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
Give the rules for variable declaration?
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
Whats s or c mean?
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
Is null valid for pointers to functions?
What is double pointer in c?
Explain what is the difference between functions getch() and getche()?
What are the 5 organizational structures?
List some applications of c programming language?
What are the advantages and disadvantages of pointers?
How can I insert or delete a line (or record) in the middle of a file?
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
What is data structure in c programming?
When can a far pointer be used?