Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
C# Programming
»
Operators
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);
10
20
30
Compile Error / Syntax Error
Show Answer
Correct Answer:
30
← Previous
Next →
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment