What is the purpose of the 'tolower' function in C?
Select an option to see the answer and solution.
Which function is used to close a file in C?
Select an option to see the answer and solution.
What is the return value of the 'getchar' function in C?
Select an option to see the answer and solution.
Which library should be included to use the 'sin' function in C?
Select an option to see the answer and solution.
What does the 'getch' function in C do?
Select an option to see the answer and solution.
What is the purpose of the 'toupper' function in C?
Select an option to see the answer and solution.
Which function is used to find the square root of a number in C?
Select an option to see the answer and solution.
What is the purpose of the 'isalpha' function in C?
Select an option to see the answer and solution.
Which standard library function is used to open a file in C?
Select an option to see the answer and solution.
What does the 'abs' function in C do?
Select an option to see the answer and solution.
The C library macro type . . . . . . . . retrieves the next argument in the parameter list of the function with type.
Select an option to see the answer and solution.
What will be the output of the following C code?
char str[20];
strcpy(str, "123456");
res = atoi(str);
printf("%s %d\n", str, res);
Select an option to see the answer and solution.
MB_CUR_MAX is not defined in stdlib.h.
Select an option to see the answer and solution.
What is the type declared by the header file signal.h?
Select an option to see the answer and solution.
The source filename and line number come from the preprocessor macros . . . . . . . . and . . . . . . . .
Select an option to see the answer and solution.
What will the given C code do?
#include <stdlib.h>
_Mbsave_Mbxlen={0};
int (mblen)(const char *s ,size_t n)
{
return(_Mbtowc(NULL s,n,&_Mbxlen));
}
Select an option to see the answer and solution.
Which of the given statement is true with respect to the function atexit()?
Select an option to see the answer and solution.
What will be the output of the following C code?
#include <assert. h>
#include <stdio . h>
#include <stdlib.h>
void -Assert (char *mesg)
{
fputs (mesg, stderr);
fputs (" -- assertion failed\n" , stderr);
abort () ;
}
Select an option to see the answer and solution.
Which is the true statement with respect to the function longjmp()?
Select an option to see the answer and solution.
Which among the given header file is used to handle different signals reported during program execution?
Select an option to see the answer and solution.