Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Define 2-3-4 tree?

949


What is inplace sorting?

1132


What type of variable is age?

923


What is static array?

1025


List the differences between comparable and comparator interface?

972


Can arraylist be resized?

1066


What is a undirected graph?

1009


Which is faster array or linked list?

957


What is adt in data structure with example?

1178


You want to insert a new item in a binary search tree. How would you do it?

938


What are the tasks performed while traversing a binary tree?

1210


What do you mean by sorting data?

947


Why do we need a data structure?

1083


What is time and space complexity of bubble sort?

868


What are the types of map?

981