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 the space complexity of quicksort?

903


What are the advantages of sorting?

926


What package is arraylist?

1027


Explain the internal working of a hash map?

955


Define avl tree?

1144


What stack means?

902


How can you add an item to the beginning of the list?

999


What is the difference between collection and collections?

1011


Which sorting algorithm is considered the fastest?

996


Is it possible to increase size of array?

949


What are types of Collision Resolution Techniques and the methods used in each of the types?

1073


What is the difference between hashset and treeset?

983


What is meant by binary tree traversal?

964


What do you mean by garbage collection?

946


Is heap sort faster than quicksort?

815