60 734
Assignments Done
97,9%
Successfully Done
In April 2018

Answer to Question #69565 in C++ for daud

Question #69565
what is is-lm function??
Expert's answer
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 first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions