MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the following will be the correct output for the C#.NET code snippet given below? String s1="Kicit"; Console.Write(s1.IndexOf('c') + " "); Console.Write(s1.Length); |
| A. | 3 6 |
| B. | 2 5 |
| C. | 3 5 |
| D. | 2 6 |
| Answer» C. 3 5 | |