what is a stack
Answers were Sorted based on User's Feedback
Answer / srilatha
STACK IS A COLLECTION R HEAP OF ELEMENTS IN FIRST IN LAST
OUT METHOD.
| Is This Answer Correct ? | 17 Yes | 2 No |
Answer / 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 |
Answer / nashiinformaticssolutions
A linear data structure that executes operations in Last In First Out (LIFO) order is referred to as a stack.
Only the topmost element in a stack can be accessed, followed by the bottom element.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
A linear data structure that executes operations in Last In First Out (LIFO) order is referred to as a stack.
Only the topmost element in a stack can be accessed, followed by the bottom element.
| Is This Answer Correct ? | 0 Yes | 0 No |
A linear data structure that executes operations in Last In First Out (LIFO) order is referred to as a stack.
Only the topmost element in a stack can be accessed, followed by the bottom element.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is compiler
How do I copy files?
void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply
What are comments and how do you insert it in a C program?
Why clrscr is used after variable declaration?
Do you know the purpose of 'register' keyword?
Explain what is the benefit of using an enum rather than a #define constant?
What is the process of writing the null pointer?
Can you assign a different address to an array tag?
Write a program to find factorial of a number using recursive function.
write C code to reverse a string such that if i/p is "abc defg hij klmno pqrs tuv wxyz" and the o/p should be "cba gfed jih onmlk srqp vut zyxw"
What is the output of the program given below #include<stdio.h> main() { char i=0; for(;i>=0;i++) ; printf("%d\n",i); }
21 Answers ADITI, Student, TCS,