0

Nothing in Square Brackets in Arrays?

What would happen if you put nothing in the square brackets?

11th Jul 2017, 12:25 AM
A_Coders
A_Coders - avatar
1 Answer
0
declaring an array ypu can write empty square brackets and define the array (automatic size calculation) I'm not sure but probably if ypu write empty square brackets for accesing an array will throw compilstion error, memory access violation or show the first elemnt of the array
11th Jul 2017, 12:35 AM
Andrés04_ve
Andrés04_ve - avatar