ExamVeda
Login
Home
31
The C library macro type . . . . . . . . retrieves the next argument in the parameter list of the function with type.
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
32
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);
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
33
MB_CUR_MAX is not defined in stdlib.h.
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
34
What is the type declared by the header file signal.h?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
35
The source filename and line number come from the preprocessor macros . . . . . . . . and . . . . . . . .
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
36
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));
}
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
37
Which of the given statement is true with respect to the function atexit()?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
38
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 () ; 
}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
39
Which is the true statement with respect to the function longjmp()?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
40
Which among the given header file is used to handle different signals reported during program execution?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board