Question

Determine the output of each code segment below for the given value of val=4

Fig: 1

Fig: 2

Fig: 3