Google News
logo
MySQL - Quiz(MCQ)
The option necessary to compile a C program havin math functions is ________
A)
-ln
B)
-lm
C)
-lp
D)
-lq

Correct Answer :   -lm


Explanation : 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().

Advertisement