Q80
What will be the output of the following C# code? static void Main(string[] args) int a = 5, b = 10; if (Convert.ToBoolean(Convert.ToInt32(0xB))) if (Convert.ToBoolean(Convert.ToInt32(022))) if (Convert.ToBoolean(Convert.ToInt32(' '))) Console.WriteLine("java"); else ; else ; else ;
A.
Compile time error: Misplaced else
B.
Compile time error: Undefined symbol
C.
java
AnswerD.
Warning: Condition is always true
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board