Q. Which option is necessary to compile a C program havin math functions?

  • (A) -lm
  • (B) -ln
  • (C) -lp
  • (D) -lq
πŸ’¬ Discuss
βœ… 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.
Explanation by: Pooja
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.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
98
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Pooja
Publisher
πŸ“ˆ
94%
Success Rate