1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
#include <stdio.h>

int
main()
{
    int a, b;

    a = 42;
    printf("After 'a = %d;' we have a = %d\n", 42, a);

    b = a++;
    printf("After 'b = a++;' we have a = %d, b = %d\n", a, b);

    b = ++a;
    printf("After 'b = ++a;' we have a = %d, b = %d\n", a, b);
}