State whether or not each of the following language construc
State whether or not each of the following language constructs is syntactically valid. For each invalid construct, give the number of the syntax rule that is violated.
(a) Declaration: CONST mask = BITSET(9.. 11): divisor-512; (b) Declaration: PROCEDURE LessThan (addrl, addr2: ADDRESS): BOOLEAN; VAR rl, r2: POINTER TO REAL; BEGIN rl :- addrl; r2 :- addr2; RETURN r1ASolution
a) invalid
syntax: bitset (unsigned long val); valid expression.
b) invalid
syntax: return (expression) return r1< r2 is valid.
c) valid
