Sail E0 Webinar
Question


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


#include<stdio.h>
int main()
{
printf("%f\n", log(36.0));
return 0;
}
Options:
A .  #include
B .  #include
C .  #include
D .  #include
Answer: Option B

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

Declaration syntax: double log(double);



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers