What is the output of the following C program?
#include <stdio.h>
int main(void) {
int a = 5, b;
b = a++ * 2;
printf("%d %d\n", a, b);
return 0;
}
a++ supplies the old value 5 to the multiplication, so b = 10; a becomes 6 afterwards.