Standard Library Functions MCQs
Practice free Standard Library Functions multiple-choice questions with instant answer feedback and step-by-step solutions. Click an option to check yourself, reveal the full explanation, and work through all 250 questions — no login required.
Question 217easy
The function computes the exponential function of x.
Question 218easy
The macro void assert(int expression) allows the diagnostic information to be written in which of the following files?
Question 219easy
If the result overflows, the function returns the value of the macro HUGE_VAL, carrying the same sign except for the . . . . . . . . function as the correct value of the function.
Advertisement
Question 220easy
Is this right explanation to the given code?
void *calloc(size_t n, size_t size)
#n -- This is the number of elements to be allocated.
#size -- This is the size of elements.Question 221easy
Some types and macros defined under the header file stddef.h may be defined under other header files too.
Question 222easy
What will be the output of the following C code?
int main(void)
{
int rc;
rc = system("time");
exit(0);
}Advertisement
Question 223easy
Which of the following statement is correct?
double x, y, z;
x = 5.123456;
z= modf(x, *y);Question 224easy
sqrt(x) function is not faster than the apparent equivalent pow(x,0.5).
Question 225easy
Initial seed is . . . . . . . . for the function srand(unsigned int seed).