ExamVeda
Login
Home
61
What will be the output of the following C code?
char str[20];
str= "123546"; res= atof(str);
printf("String value = %s, Float value = %f\n", str, res);
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
62
The C library function . . . . . . . . function converts the wide character to its multibyte representation.
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
63
A domain error occurs if x is negative and y is not an integral value for the function pow(double x, double y).
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
64
Which statement is correct work reference to endptr?
double strtod(const char *nptr, char **endptr);
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
65
Which of the following is the correct syntax of the function strtoul()?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
66
A less common use of setjmp.h is to create syntax similar to . . . . . . . .
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
67
What will be the output of the following C code?
double x=1.2
printf("%.1lf", ceil(x));
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
68
Which of the given function differs from the statement'errno is not neccessarily set on conversion error'?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
69
The macro MB_LEN_MAX is used to find . . . . . . . .
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
70
Which function is called by macro assert to terminate the execution?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board