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
πŸ’¬ Discuss
βœ… Correct Answer: (C) Good Morning Dr.Gupta

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
223
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Shivam
Publisher
πŸ“ˆ
94%
Success Rate