So I'm learning C, I have experience with Java and Python, and this is a really curious thing which is happening.
When I run this code, the output is Hello7
#include <stdio.h>
int main()
{
int a[1];
a[1]=1;
a[2]=2;
a[3]=7;
printf("Hello%d",a[3]);
}
But how is GCC able to print out Hello7 if the maximum size of the array is 1?