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.

🎲 Try a Random Question  |  Total Questions in Quiz: 156  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
C# Programming Practice Test — practice the complete quiz, review flashcards, or try a random question.


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