| 1. | What will be the output of the program? class Test |
|||||||
Answer: Option C Explanation: In the first two iterations x is incremented once and y is not because of the short circuit && operator. In the third and forth iterations x and y are each incremented, and in the fifth iteration x is doubly incremented and y is incremented. |
