S

Shivam • 8.86K Points
Tutor III

Q. What will be the output of the following C# code?

Code:
static void Main(string[] args)
{
    String name = "Dr.Gupta";
    Console.WriteLine("Good Morning" + name);
}
  • (A) Dr.Gupta
  • (B) Good Morning
  • (C) Good Morning Dr.Gupta
  • (D) Good Morning name
  • Correct Answer - Option(C)
  • Views: 118
  • Filed under category C#

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics