0

What's the difference between int a[]; and int a[5]; ?

9th Aug 2016, 3:45 AM
Mauricio Baron
Mauricio Baron - avatar
1 Odpowiedź
+ 3
a[] is an infinite array its not fixed you can put as many values as u like e.g. {2,5,7,1,6,.................} while a[5] is fixed to only 5 values, e.g. {2,3,7,9,0}
9th Aug 2016, 9:44 AM
Michael Murandu
Michael Murandu - avatar