#include <stdio.h>
int main(){
int a = 3;
int b[] = {1,2};
int c = 4;
b[3] = 10;
printf("a = %d\n",a);
return 0;
}
Output: 10
It is an integer output perhaps, it does not carry any garbage value too, but after when i assign the value to the variable a as a = 5
and above value 5
, it just prints the output as it is, tell me what's going on here!