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

Question:
What will be the output of the C#.NET code snippet given below?

int a = 10, b = 20, c = 30; 
int res = a < b ? a < c ? c : a : b; 
Console.WriteLine(res);

1.10

2.20

3.30

4.Compile Error / Syntax Error

Posted Date:-2021-02-25 10:28:15


More MCQS Questions and answers

Search