Week 5 (Semantics) Activity

Consider the C code below. Describe the program state after each line is executed. Then convert each expression to postfix notation. Use the precedence table in the textbook (pp. 43-44).

Refresh the page to get a new set of expressions.

The code

Some Notes