Standard Library Functions MCQs

250 questionsC-ProgramPage 11 of 28

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 91easy
What are the contents of the register?
Question 92easy
The header file setjmp.h is used to . . . . . . . .
Question 93easy
Name the function that breaks a floating-point number into a normalized fraction and an integral power of 2.
Advertisement
Question 94easy
Select the correct declaration of setjmp().
Question 95easy
What will be the output of the following C code if the system date is 6/2/2017(Friday)?
#include<stdio.h>
#include<time.h>
int main()
{
    struct tm *local, *gm;
    time_t t;
    t=time(NULL);
    local=localtime(&t);
    printf("%d",local->tm_wday);
    return 0;
}
Question 96easy
A function is declared as sqrt(-x) under the header file math.h, what will the function return?
Advertisement
Question 97easy
void (*signal(int sig, void (*func)(int)))(int);If the value of func is SIG_IGN then . . . . . . . .
Question 98easy
Which macro saves the current environment into the variable environment for later use by the function longjmp().
Question 99easy
double . . . . . . . . (double x, double y) computes the floating-point remainder of x/y.
Standard Library Functions MCQs with Answers & Solutions — C-Program | GrabStudy