Hưng Thịnh
New member
What will be the output of the following C code?
A. -3
B. -5
C. 4
D. Undefined
Code:
#include <stdio.h>
void main()
{
int a = -5;
int k = (a++, ++a);
printf("%d\n", k);
}
B. -5
C. 4
D. Undefined