11. The sig argument specifies the signal, which may be any signal except . . . . . . . . and . . . . . . . .
12. Which function is called repeatedly by bsearch() to compare search elements against the elements in the array?
13. Which of the following format specifiers is used to represent the hours in the 24 hour clock (0-23) format?
14. Which of the following macros is not defined?
15. How many times can the macro setjmp() return?
16. What will be the output of the following C code?
char str[];
strcpy(str, "Hello");
res = atof(str);
printf("String value = %s, Float value = %f\n", str, res);
char str[];
strcpy(str, "Hello");
res = atof(str);
printf("String value = %s, Float value = %f\n", str, res);17. The header file stdarg.h defines a variable type . . . . . . . .
18. Which of the following is the correct description of EXIT_FAILURE?
19. . . . . . . . . variable type defined in the header stdlib.h is an integer type of the size of a wide character constant.
20. What will be the output of the following C code?
#include <assert.h>
#include <stdio.h>
void main()
{
int n=12;
char str[50]="";
assert(n >= 10);
printf(" output: %d\n", n);
assert(str != NULL);
printf("output: %s\n", str);
}
#include <assert.h>
#include <stdio.h>
void main()
{
int n=12;
char str[50]="";
assert(n >= 10);
printf(" output: %d\n", n);
assert(str != NULL);
printf("output: %s\n", str);
}Read More Section(Standard Library Functions)
Each Section contains maximum 100 MCQs question on Standard Library Functions. To get more questions visit other sections.
