Identify the correct array declaration statement.
Advertisements
प्रश्न
Identify the correct array declaration statement.
पर्याय
int a[10];
int a[]=new int[10];
int arr[i]=10;
int a[10]=new int[];
MCQ
Advertisements
उत्तर
int a[]=new int[10];
Explanation:
The array name, as well as the new operator and the array size, must be given when declaring an array.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
