ExamVeda
Login
Home
91
Which of the following macros is defined under the header limits.h?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
92
A range error occurs if the result of the function cannot be represented as a value.
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
93
Choose the correct statement.
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
94
What will be the output of the following C code, given that the maximum value of signed char is 127 and that of unsigned char is 255.
#include<stdio.h>
#include<limits.h>
#define SCHAR_MAX
main()
{
    printf("%d",SCHAR_MAX+1);
}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
95
The . . . . . . . . function returns no value.
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
96
What will be the output of the following C code?
char str[] ;  
strcpy(str, "Hello"); 
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
97
What will be the output of the following C code?
void main() 
{ 
   div_t  res;  
   res = div(34, 4); 
   printf("quotient part = %d\n", res.quot); 
   printf("remainder part = %d\n", res.rem); 
}
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
98
Which function returns a pseudo-random integer?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
99
Which of the following format specifiers is used to specify whether the given time is in AM or PM?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
100
Which among the given function causes abnormal program termination ?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board