Since the functions are not compiled in the standard lib but in
"libm", you need to use "-lm" option when linking the code. e.g. gcc -lm filename.c -o filename
Share |
Share

TOP