Vidyalelo
C# Programming · Q184

Classes and Objects in C Sharp

Programming · C# Programming · question 184

Q184

What will be the output of the following C# code? static void Main(string[] args) int x = 8; int b = 16; int C = 64; x /= b /= C /= x; Console.WriteLine(x + " " + b+ " " +C); Console.ReadLine();

A.
8 2 4
B.
2 4 8
C.
4 2 8
Answer
D.
Compile time error

Answer: Option C

Solution

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