You can prepare effectively for Grade 7 C Programming for Beginners with this dedicated MCQ Practice Test (available with solutions) on the important topic of "Test: C Math Functions". These 10 questions have been designed by the experts with the latest curriculum of Grade 7 2026, to help you master the concept.
Test Highlights:
Sign up on EduRev for free to attempt this test and track your preparation progress.
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;
}
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|14 docs|15 tests |