1D Array accessing

When i create an array of size 10 and accessing 11th element , then it is working fine, but i only have 10 buckets.
please explain this abnormality.

hi @ritikbunty2511_729d0258992e0982 its normal either you will get garbage value or sometimes segmentation fault

But sir it is giving me correct outputs.

But sir it is giving me correct outputs.

Send me the code on ide.codingblocks.com
Write save and send the URL of page