1.

Select the output for the following set of Code: static void Main(string[] args) { char ch = 'p'; switch (ch) { case 'p': Console.WriteLine("coco" + " t" + Convert.ToInt32(ch)); break; default: Console.WriteLine("default"); break; } Console.WriteLine("main"); }

A. Coco main
B. Coco 112
C. Coco 112 main
D. Compile time error
Answer» D. Compile time error


Discussion

No Comment Found