when we implement a generic stak using cpp,
in main function we have to declare the object of stacktemplate
like Stack<int> integerStack;
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