Solved

Which of the Following Segments of Code Will Display the First

Question 43

Multiple Choice

Which of the following segments of code will display the first row of a two dimensional array?


A) for (int i = 0; i   Console.Write(anArray[0, i] + "\t") ;
B) for (int i = 0; i   Console.Write(anArray[0, i] + "\t") ;.
C) for (int i = 0; i   Console.Write(anArray[i, 0] + "\t") ;
D) for (int i = 0; i   Console.Write(anArray[i, 0] + "\t") ;.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions