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.
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments