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 is sorting and classifying?

848


What is structure of data type?

846


What is difference between concurrenthashmap and hashtable?

862


Why is arraylist faster than linkedlist?

899


Given M x N matrix with sorted elements row wise and column wise, find elements?

936


Write a program for Sorting an Array. Which sorting will you prefer?

922


What is a height of a tree?

835


How to create an Array?

921


What is red black tree in data structure?

855


Which type of sorting is best?

889


What is ordered map?

802


What is the advantage of circular linked list?

773


Tell us the difference between merge and quick sort. Which one would you prefer and why?

964


What are linked lists good for?

799


Questions related to arrays, such as given a 2 integer array, find the common elements.

877