TASK H1: with each of the 4 marked statements immediately below, explain, in
// plain English, a) what the statement does and b) its purpose in the program.
const int MAXSTACKSIZE = 5;
// TASK H1.1 Explain this statement
const int BOTTOMOFSTACK = -1;
// TASK H1.2 Explain this statement
typedef char StackElement;
//
TASK H1.3 Explain this statemen
typedef struct {
// TASK H1.4 Explain this statement
StackElement contents[MAXSTACKSIZE];
int top;
} Stack;
Comments
Leave a comment