-
Which of the following is the correct output for the program given below?
#include <stdio.h>
#include <math.h>
int main ( )
{
printf ( "%f\n" ,sqrt (49.0));
return 0 ;
}
-
- 7.0
- 7
- 7.000000
- Error : Prototype of sqrt ( ) not found
Correct Option: C
It prints the square root of 49 in the float format(i.e 7.000000).