Was just posed an elementary programming question that I've somehow overlooked.
int a = 2, b = 3, c = 5;
if (!a == b)
c = a--;
else
c = ++b;
printf("%d %d %d\n", a, b, c);
I think the output should be 2 4 4. Anyone can help verify whether I'm correct or wrong and why?