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

What are binary trees?

1439


How do you represent a linked list?

833


Can we sort hashmap?

838


Which sorting is best and why?

835


What is the meaning of arraylist?

866


Is queue fifo or lifo?

836


What are the different types of data structures?

936


Define depth and height of a node?

865


What is difference between list and linked list?

903


How memory is reserved using a declaration statement in data structure?

1069


What are the Differences between map and hashmap?

940


Draw a binary Tree for the expression : A * B - (C + D) * (P / Q)

1349


What is peep stack?

947


What is doubly linked list in data structure?

771


Do sets allow duplicates?

887