+ 2
How it works and prints 47 when i do it as printf("%d",arr[47]);
1 Antwort
+ 1
Baba Yaaga when you declare your array as a[47]=47, then it starts initialising veriables from index 47
That's why if you print a[47] gives 47.
Also if you try to print a[48] then it will print 48(as it is initialised at 48th index)