Which option is necessary to compile a C program havin math functions?
-lq
-lm
-ln
-lp
None of these
Correct Option: B
To compile a program written in the C language, it is compiled by issuing the option ‘-lm’. The examples of some math functions found in ‘math.h’ are floor(), sqrt(), pow(), log().