New course! Every coder should learn Generative AI!
Try a free lesson+ 1
Can we give an array a negative or out of bound index?
like : int c[20]; cout<<c[-10]<<c[50];
2 Answers
+ 2
Did it work?
+ 2
Yes you can, though I can't quite explain that wierd output