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 statement
TASK H1.4 Explain this statement
typedef struct {
StackElement contents[MAXSTACKSIZE];
int top;
} Stack;
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/engineering-answer-46228.pdf
Comments
Leave a comment