It works fine with 1 variable one value. I don't understand why.
Code:/tmp/cc4KSEcQ.o: In function `main': test.c:(.text+0x2f): undefined reference to `pow' collect2: ld returned 1 exit statusCode:#include <math.h> #include <stdio.h> int main() { int x = 2, y = 3; printf( "%.2f\n", pow( y, x ) ); return 0; }