c - Why am I getting "undefined reference to sqrt" error even though I include math.h header? - Stac
I'm very new to C and I have this code: #include #include int main(void) { double x = 0.5; double result = sqrt(x); printf("The square root of %lf is %lf ......