How is it possible to insert different type of elements in
stack?
Answer Posted / poornakala
you ca implement stack with union datatype... u may think
of structures.. but struct use storin of all values and mem
allocated for all in each.. but in union only one at a
time... this is right i think...
| Is This Answer Correct ? | 61 Yes | 9 No |
Post New Answer View All Answers
What are binary trees?
How do you represent a linked list?
Can we sort hashmap?
Which sorting is best and why?
What is the meaning of arraylist?
Is queue fifo or lifo?
What are the different types of data structures?
Define depth and height of a node?
What is difference between list and linked list?
How memory is reserved using a declaration statement in data structure?
What are the Differences between map and hashmap?
Draw a binary Tree for the expression : A * B - (C + D) * (P / Q)
What is peep stack?
What is doubly linked list in data structure?
Do sets allow duplicates?