Warning: implode(): Invalid arguments passed in /www/wwwroot/jobquiz.info/mdiscuss.php on line 336 What will be the output of the program? #include<stdio.h> #include<math.h> int main() { printf("%f\n", sqrt(36.0)); return 0; } ?->(Show Answer!)
1. What will be the output of the program? #include<stdio.h> #include<math.h> int main() { printf("%f\n", sqrt(36.0)); return 0; }
Ask Your Doubts Here
Comments
By: guest on 01 Jun 2017 06.01 pm
printf("%f\n", sqrt(36.0)); It prints the square root of 36 in the float format(i.e 6.000000). Declaration Syntax: double sqrt(double x) calculates and return the positive square root of the given number.