Evaluating the first expression
(Display Figure 5.)
The first statement in Figure 5 evaluates the expression
A==BIt stores the value that is returned in the variable named C, overwriting the previous contents of C.
The second statement in Figure 5 prints the value stored in C, producing the first line of output text in Figure 6.
The printed output indicates that the expression is false because A is not equal to B.
Figure 6. Output produced by the code in Figure 5.
the value of world.main.C is false the value of world.main.C is true |