Vidyalelo
C# Programming · Q87

Control Flow Statements in C Sharp

Programming · C# Programming · question 87

Q87

What will be the output of the following C# code? static void Main(string[] args) int a = 15, b = 10, c = 1; if (Convert.ToBoolean(a) && (b > c)) Console.WriteLine("cquestionbank"); else break;

A.
cquestionbank
B.
It will print nothing
C.
Compile time error
Answer
D.
Run time error

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board