Q77
What will be the output of the following C# code? static void Main(string[] args) String obj = "hello"; String obj1 = "world"; String obj2 = obj; Console.WriteLine(obj + " " + obj1); string s = obj + " " + obj1; Console.WriteLine(s.Length); Console.ReadLine();
A.
hello world
10
10
B.
hello world
6
6
C.
hello world
11
Answer11
D.
hello world
5
5
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board