A stack can be implemented only using array?if not what is used?

Answers were Sorted based on User's Feedback



A stack can be implemented only using array?if not what is used?..

Answer / namita

linked list

Is This Answer Correct ?    15 Yes 0 No

A stack can be implemented only using array?if not what is used?..

Answer / vignesh1988i

stack is not always implemented using array's , it can also
be implemented through linked lists in DATA STRUCTURES,,,

Is This Answer Correct ?    11 Yes 0 No

A stack can be implemented only using array?if not what is used?..

Answer / bharat chandra

stack can implemented by Array(static)format and linked
lised (dynamic)formated.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

void main() { int a=1; printf("%d %d %d",a,++a,a++); } the output is supposed to be 1 2 2....but it is 3 3 1 this is due to calling conventions of C. if anyone can explain me how it happens?

7 Answers  


Is c procedural or functional?

0 Answers  


what is the importance of spanning tree?

0 Answers  


what is computer engg

1 Answers  


write a c program to calculate sum of digits till it reduces to a single digit using recursion

0 Answers   IBM,






printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions

0 Answers  


what is the difference between auto and static keywords

1 Answers   cDot, College School Exams Tests, TCS,


What is the collection of communication lines and routers called?

0 Answers  


how to construct a simulator keeping the logical boolean gates in c

0 Answers  


Implement a function that returns the 5th element from the end in a singly linked list of integers in one pass.

11 Answers   Microsoft,


i want explaination about the program and its stack reprasetaion fibbo(int n) { if(n==1 or n==0) return n; else return fibbo(n-1)+fibbo(n-2); } main() { fibbo(6); }

2 Answers  


what is different between auto and local static? why should we use local static?

0 Answers  


Categories