ExamVeda
Login
Home
71
Select the right statement.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
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);
}
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
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);
}
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
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;
}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
75
The calloc() function allocates space for an array of n objects, each of whose size is defined by size. Space is initialized to all bits zero.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
76
Select the macro that affects the information provided by localeconv function.
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
77
The value of CHAR_MAX will be equal to SCHAR_MAX when . . . . . . . .
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
78
Which of the given option is declared under the header file stdlib.h?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
79
If access to the varying arguments is desired then the called function shall declare . . . . . . . . having type va_list.
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
80
The assert macro returns . . . . . . . . value.
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board