what is a stack

Answers were Sorted based on User's Feedback



what is a stack ..

Answer / srilatha

STACK IS A COLLECTION R HEAP OF ELEMENTS IN FIRST IN LAST
OUT METHOD.

Is This Answer Correct ?    17 Yes 2 No

what is a stack ..

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

what is a stack ..

Answer / eresh

stack is a part of ram memory

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More C Interview Questions

What is size of union in c?

0 Answers  


What is nested structure with example?

0 Answers  


how will you write a program on linked lists using JAVA programming???????????

1 Answers   Keane India Ltd,


What is far pointer in c?

0 Answers  


Who is the main contributor in designing the c language after dennis ritchie?

0 Answers  






What is new line escape sequence?

0 Answers  


Symmetric technologies interview questions. For Computer science candidates the first round is a objective type written test consisting of 16 questions.It is very easy ,any police man can solve this. And next round is a written test consists of both objective and subjective .Total 40 question related to c,c++ and operating system related questions. And then a technical interview and give some program to solve with computer.The md is adamant person, whatever he says we have to accept that is the condition. And one more thing ,,,these interview is just for a formality..the company will select only innocent guys.. the person's without a backbone only they require.. And u have to submit the certificates this is the most important problem...So if you are not getting any other jobs..then only join with this... It is better to try for other company...And apart from that symmetric do a lot of projects..If a candidate can manage everything u can join and make good career with this company... The Md will normally speak rudely..but he is good person and he will give you a lot of very good chances to improve your career....but with cheap salary....

0 Answers   Symmetric Technologies,


What is string function in c?

0 Answers  


1.what are local and global variables? 2.what is the scope of static variables? 3.what is the difference between static and global variables? 4.what are volatile variables? 5.what is the use of 'auto' keyword? 6.how do we make a global variable accessible across files? Explain the extern keyword? 7.what is a function prototype? 8.what does keyword 'extern' mean in a function declaration?

2 Answers   nvidia,


what is the output of below int n=10; (n++)++; printf("%d",n);

3 Answers  


what is the difference between #include<stdio.h> and #include"stdio.h" ?

6 Answers   TCS,


how 2 compile & execute c program with out using editor?

2 Answers   HP,


Categories