1

Which of the following statements are correct about the C#.NET code snippet given below? if (age > 18 && no < 11) a = 25; 1. The condition no < 11 will be evaluated only if age > 18 evaluates to True. 2. The statement a = 25 will get executed if any one condition is True. 3. The condition no < 11 will be evaluated only if age > 18 evaluates to False. 4. The statement a = 25 will get executed if both the conditions are True. 5. && is known as a short circuiting logical operator.

Correct Answer: 1,4,5,

Make the most of this question

This page focuses on one C++ MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

C++ MCQs MCQ: Which of the following statements are correct about the C#.NET code snippet given below? if (age > 18 && no 18 evaluates to True. 2. The statement a = 25 will get executed if any one condition is True. 3. The condition no 18 evaluates to False. 4. The statement a = 25 will get executed if both the conditions are True. 5. && is known as a short circuiting logical operator. | Extra Education