Which header file is required for manipulation of math functions in c++?
What will be the output of the following C++ code?
#include <stdio.h>
#include <math.h>
int main ()
{
int param, result;
int n;
param = 8.0;
result = frexp (param , &n);
printf ("%d \n", param);
return 0;
}
1 Crore+ students have signed up on EduRev. Have you? Download the App |
What will be the output of the following C++ code?
#include <stdio.h>
#include <math.h>
int main ()
{
printf ("%lf", pow (7.0,3));
return 0;
}
What will be the output of the following C++ code?
#include <stdio.h>
#include <math.h>
int main ()
{
printf ("%lf", fabs (-10.6) );
return 0;
}
With which does the trigonometric functions work with angles in c++?
How many macros are used by mathematical functions in the header file <cerrno>?
What will be the output of the following C++ code?
#include <stdio.h>
#include <math.h>
int main ()
{
double param, result;
param = 5.5;
result = log (param);
printf ("%lf", result );
return 0;
}
What will be the output of the following C++ code?
#include <stdio.h>
#include <math.h>
int main ()
{
printf ("%lf\n", fmod (5.3, 2) );
printf ("%lf\n", fmod (18.5, 4.2) );
return 0;
}
Which of the following mathematical function is overloaded in <complex> and <valarray>?
15 videos|20 docs|13 tests
|
15 videos|20 docs|13 tests
|