Home / Programming MCQs / C# MCQs / Question

R

Ram Sharma • 188.81K Points
Coach

Q. Which of the correct syntax to declare an array with 2 rows and 3 columns in C#?

(A) int arr[2][3] = new int[2][3];
(B) int arr[2,3] = new int[2,3];
(C) int[,] arr = new int[2,3];
(D) int [,]arr = new [2,3]int;

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.