One question with array declaration in C++
- by skydoor
Hi
What's the difference between the two code below.
int a[] = {0,0};
int a[2] = {0,0};
It seems I can assign value to a[3] in both cases. I can access a[3] in any case. So what's the difference?