/*
 * compile with 2 different compilers and see the reuslt
 * ---------------------------------------------------
 * $ gcc power.c -lm -Wall -Wextra
 * $ clang power.c -lm
 */

#include <stdio.h>
#include <math.h>

int
main()
{
    int n;

    n = 3;
    printf("%d %f\n", n, pow(2, ++n));  /* WRONG */
    return 0;
}
