C - Data Types - Discussion

You Are Here :: Home > C > Data Types - Discussion

 



Q.

Which statement will you add in the following program to work it correctly?

#include
int main()
{
printf("%f\n", log(36.0));
return 0;
}

A. #include B. #include
C. #include D. #include

Answer: Option B
Explaination:

 


math.h is a header file in the standard library of C programming language designed for basic mathematical operations. Declaration syntax: double log(double);








Discussion

Your Comments Goes here...
NameDiscussion