0

what does the statement "zero size arrays are an extension" mean?

I can't understand follow code: int a [0]; cout << a[-1]; https://code.sololearn.com/cfm5P2Yyx5yp/?ref=app

6th Apr 2019, 4:29 AM
Alireza Abbasi
Alireza Abbasi - avatar
3 Answers
0
thanks ~swim~. so has a[-1] a meaningful value ?
6th Apr 2019, 9:11 AM
Alireza Abbasi
Alireza Abbasi - avatar