Hi, all!
The code below compiled by gcc and icc behaves differently. Could anyone help me to figure the problem?
Code:#include <stdio.h> int main(void) { int v[2]; int i; v[0] = 10; v[1] = 20; i = 0; if (v[i++] == v[i]) printf("hello\n"); return 0; }