Answer to Question #46781 in Engineering for vijay

Question #46781
when we implement a generic stak using cpp,
in main function we have to declare the object of stacktemplate
like Stack<int> integerStack;
Stack<char> charStack;
is their memory alocation is different or same for all.
and second questaion is that, If we want to insert the integer,charactor,flot all this data types data in one single stack is itpossible
i mean stackelements are
1sc34.5 etc.
0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS