1.

Comment on the below while statement while (0 == 0) { }

A. It has syntax error as there are no statements within braces {}
B. It will run forever
C. It compares 0 with 0 and since they are equal it will exit the loop immediately
D. It has syntax error as the same number is being compared with itself
Answer» C. It compares 0 with 0 and since they are equal it will exit the loop immediately


Discussion

No Comment Found