Home » C Programming » Floating Point Issues

Which statement will you add in the following program to work it correctly? #include int main() { printf("%f\n", log(36.0)); return 0; }

Correct Answer: #include

Explanation:

math.h is a header file in the standard library of C programming language designed for basic mathematical operations.


Declaration syntax: double log(double);


← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion