Home » MYSQL » MySQL Connectors and APIs » Question
  1. Which option is necessary to compile a C program havin math functions?
    1. -lq
    2. -lm
    3. -ln
    4. -lp
    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.