String

Q1: Which of the following will be the correct output for the C#.NET code snippet given below?
String s1 = 'Nagpur';
String s2;
s2 = s1.Insert(6, 'Mumbai'); 
Console.WriteLine(s2);

A NagpuMumbair

B Nagpur Mumbai

C Mumbai

D Nagpur

E NagpurMumbai

ANS:E - NagpurMumbai

No answer description is available. Let's discuss.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.