Home » MYSQL » Mysql miscellaneous » Question
  1. The option that is necessary to compile a C program having math functions is _____________.
    1. -lp
    2. -lm
    3. -lq
    4. -ln
    5. 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().



Your comments will be displayed only after manual approval.