What will be the output of the following C code?
#include <stdio.h>
#include <math.h>
int main()
{
int i = 90;
printf("%f\n", sin(i));
return 0;
}
What will be the output of the following C code?
#include <stdio.h>
#include <math.h>
int main()
{
unsigned int i = -1;
printf("%f\n", fabs(i));
return 0;
}
1 Crore+ students have signed up on EduRev. Have you? Download the App |
function fabs defined math.h header file takes the argument of type integer.
log(x) function defined in math.h header file is __________
What will be the output of the following C code?
#include <stdio.h>
#include <math.h>
int main()
{
int i = 10;
printf("%f\n", log10(i));
return 0;
}
What type of inputs are accepted by mathematical functions?
In linux, apart from including math header file, the program is successfully executed by which of the following?
Which of the following is not a valid mathematical function?
Which among the following mathematical function do not have a “double” return-type?
10 videos|13 docs|15 tests
|
10 videos|13 docs|15 tests
|