Examveda

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

C. I am a human being c

D. I am a human bein

Answer: Option B


Join The Discussion

Related Questions on Basic Syntax and Data Types in C Sharp