Quzah, your sizeof was of StackType, mine was sizeof StackPtr.
Does it make a difference??? Seems it would, now that I think about it, cuz StackType is a structure type and StackPtr is just a...
Type: Posts; User: Pointman
Quzah, your sizeof was of StackType, mine was sizeof StackPtr.
Does it make a difference??? Seems it would, now that I think about it, cuz StackType is a structure type and StackPtr is just a...
typedef Struct node {
char elem;
struct node * next;
} StackType;
typedef StackType * StackPtr;
StackPtr top;
is now StackPtr a type of variable?? and top is a variable of...