Discussion :: Control Instructions - c#
-
Which of the following statements are correct about the C#.NET code snippet given below?
if (age > 18 || no 11) a = 25;
- The condition no will get evaluated only if age > 18 evaluates to False.
- The condition no will get evaluated if age > 18 evaluates to True.
- The statement a = 25 will get evaluated if any one one of the two conditions is True.
- || is known as a short circuiting logical operator.
- The statement a = 25 will get evaluated only if both the conditions are True.
Answer : Option C
Explanation :
No answer description available for this question.
Be The First To Comment