Which Among The Following Is Correct Syntax To Declare A 2d #1251
Which among the following is correct syntax to declare a 2D array using new operator?
This multiple choice question (MCQ) is related to the book/course
gs gs111 OOP Object Oriented Programming Java.
It can also be found in
gs gs111 Memory Allocation & Scope of Variable - OOPs MCQ: New Operator - Quiz No.1.
Which among the following is correct syntax to declare a 2D array using new operator?
char (*pchar)[10] = new char[][10];
char (pchar) = new char[][10];
char (*char) = new char[10][];
char (*char)[][10]= new char;