Q. Which option is necessary to compile a C program havin math functions?
β
Correct Answer: (A)
-lm
Explanation: This question is asking about how to link the math library in a C program. The math library is a collection of pre-written functions for doing mathematical operations like calculating square roots, trigonometric functions (like sine, cosine), logarithms, and more.