gcc -Wall -o pow attempt.c of: #include #include int main(void) { double base = 2, power = 3; printf("\n 2^3 = %f\n", pow(base, power)); return 0; } gives /tmp/ccUYHZeh.o: In function `main': attempt.c:(.text+0x3c): undefined reference to `pow' collect2: ld returned 1 exit status