#include<stdio.h>
int main(void) {
int i=(1,2,3,4);
printf("%d",i);
return 0;
}
When I'm given an online technical mock test I came to this question. Firstly I think there is an compilation error in line int i=(1,2,3,4); but I was wrong. I don't know why the output of this question is 4.