1.

The option necessary to compile a C program havin math functions is ______________(a) -lm(b) -ln(c) -lp(d) -lqThe question was posed to me during an online exam.Query is from Access Control and Security in division MySQL Administration of MySQL

Answer»

The correct choice is (a) -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().



Discussion

No Comment Found

Related InterviewSolutions