πŸ“Š C#
Q. What will be the output of the following C# code?

Code:
using System;

namespace MyApplication {
  class Program {
    static void Main(string[] args) {
      int a = 10, b = 20;
      Console.WriteLine("{0}+{1}", a, b);
    }
  }
}
  • (A) 20
  • (B) 30
  • (C) 10+20
  • (D) 10+10
πŸ’¬ Discuss
βœ… Correct Answer: (C) 10+20

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
192
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
86%
Success Rate