+ 5
arrays
what will be the output? arr []={1,2,3} cout <<arr [3]:
5 Réponses
+ 2
suppose this won't run
+ 2
This will print the content of the memory near the array as an int, or in other words, garbage.
+ 1
error coz u specified 3 elements and u wanted output for number 3 i.e number 4 in arrays which isnt thr so i think either it will show an error or just outputs nothing
+ 1
no output.
+ 1
because array count index begin at 0 this should lead to a error or will show a garbage value