I have written the following code in C
int main(){
int a = {1, 2, 3};
}
It seems like the variable assigned, in this case a, always takes the value of the first array element. Now I'm wondering if the other array elements are discarded, or written to the memory after a, thus causing a buffer overflow.