Question: Which of the following loop correctly prints the elements of the array?
Options
A : do { Console.WriteLine(( char ) i); } while ( int i = 0 ; i < arr; i++);
B : foreach ( int i in arr) { Console.WriteLine(( char ) i); }
C : for ( int i = 0 ; i < arr; i++) { Console.WriteLine(( char ) i); }
D : while ( int i = 0 ; i < arr; i++) { Console.WriteLine(( char ) i); }
Control Instructions - General Questions more questions
What will be the output of the C#.NET code snippet....
Which of the following statements is correct about the C#.NET....
Which of the following statements are correct?
Which of the following statements are correct about the C#.NET....
What will be the output of the code snippet given....
Which of the following statements is correct about the C#.NET....
Which of the following statements are correct about data types?
Which of the following is an 8-byte Integer?
Which of the following is NOT an Integer?
Which of the following statements is correct?
Arrays - General Questions more Online Exam Quiz
References - General Questions
Complicated Declarations - General Questions