a) Write the different operations that can be done in a stack of elements of type T as well as in a queue of elements of type T.
Write the different operations that can be done in a stack of elements of type T as well as in a queue of elements of type T.
in C and CPP