Answer to Question #69565 in C++ for daud

Question #69565
what is is-lm function??
1
Expert's answer
2017-08-01T06:03:09-0400
Answer:
This option is used to link the libm library. Here, ‘-l’ means “to link”, ‘m’ means “libm”.
References:
[1]https://en.wikipedia.org/wiki/C_mathematical_functions#libm
[2]https://gcc.gnu.org/onlinedocs/gcc/Link-Options.html
[3]https://stackoverflow.com/questions/4606301/gcc-why-the-lm-flag-is-needed-to-link-the-math-library

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS