-
Which of these is an incorrect array declaration?
-
- int arr[] = new int[5] ;
- int [] arr = new int[5] ;
- int arr[] = int [5] new;
- int arr[];
arr = new int[5]; - None of these
Correct Option: C
Operator new must be succeeded by array type and array size. The order is important and determines the type of variable.