- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
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 < 11 will be evaluated only if age > 18 evaluates to True.
The statement a = 25 will get executed if any one condition is True.
The condition no < 11 will be evaluated only if age > 18 evaluates to False.
The statement a = 25 will get executed if both the conditions are True.
&& is known as a short circuiting logical operator. 

1.1, 3

2. 2, 5

3. 1, 4, 5

4. 3, 4, 5

Posted Date:-2021-02-20 14:28:12


More MCQS Questions and answers

Search