What is output for the following set of Code? static void Main(string[] args) { String obj = "hello"; String obj1 = "world"; String obj2 = obj; string s = obj+" "+obj1; Console.WriteLine(s.IndexOf('r')); Console.ReadLine(); }
Correct Answer: b) 8
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More C# MCQ Questions