One can create a stack in C using code similar to the C++
code below. Best is to use a separate file to implement the
stack, since this has the most "object-oriented" feel to it.
Then instead of an explicit type name for objects in the stack, one
can use the name Typ, along with one of
#define Typ int
#define Typ double
#define Typ whatever