71.
Select the right statement.

72.
What will be the output of the following C code?
#include<time.h>
int main (void)
{
    float n = time(NULL);
    printf("%.2f\n" , n);
}

73.
What will be the output of the following C code if the current system date is 6/22/2017?
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
int main()
{
    time_t ct;
    time(&ct);
    struct tm *mt=localtime(&ct);
    printf("%d\n",mt-> tm_mon+2);
}

74.
What will be the output of the following C code, if the system date is 6/23/2017?
#include<stdio.h>
#include<time.h>
int main()
{
    struct tm *local;
    time_t t;
    t=time(NULL);
    local=localtime(&t);
    printf("%d",local->tm_mday);
    return 0;
}

77.
The value of CHAR_MAX will be equal to SCHAR_MAX when . . . . . . . .

Read More Section(Standard Library Functions)

Each Section contains maximum 100 MCQs question on Standard Library Functions. To get more questions visit other sections.