Q.

Which of the following will be the correct output for the C#.NET code snippet given below?
String s1 = "ALL MEN ARE CREATED EQUAL";
String s2; s2 = s1.Substring(12, 3);
Console.WriteLine(s2);

A. ARE
B. CRE
C. CR
D. REA
Answer» B. CRE
3.5k
0
Do you find this helpful?
28

View all MCQs in

C# Programming

Discussion

No comments yet

Related MCQs