Page 1 of 1

Which of these is an incorrect array declaration?

Posted: Wed Jul 13, 2022 7:45 pm
by answerhappygod
a) int arr[] = new int[5]
b) int [] arr = new int[5]
c) int arr[] = new int[5]
d) int arr[] = int [5] new