Short-Circuit Evaluation


Is this correct?
I just thought, it should print
"B was also evaluated!


Please help


Do you want to say true should be inside ""?

No,because true is Boolean value not string one.

but your result is totally wrong.

read the instruction again.

your result should be

A was evaluated!
B was also evaluated!
A was evaluated!


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.