Vidyalelo
C# Programming · Q85

Basic Syntax and Data Types in C Sharp

Programming · C# Programming · question 85

Q85

What will be the output of the following C# code? static void Main(string[] args) char c = 'g'; string s = c.ToString(); string s1 = "I am a human being" + c; Console.WriteLine(s1); Console.ReadLine();

A.
I am a human bein c
B.
I am a human being
Answer
C.
I am a human being c
D.
I am a human bein

Answer: Option B

Solution

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