Question 1 of 25
Hints left: 3
Q1
Which of the following is the correct syntax of the function strtoul()?
Q2
Which statement is correct work reference to endptr? double strtod(const char *nptr, char **endptr);
Q3
A domain error occurs if x is negative and y is not an integral value for the function pow(double x, double y).
Q4
Which of the given function differs from the statement'errno is not neccessarily set on conversion error'?
Q5
Which of the given statement is not true with respect to void longjmp( jmp-buf env, int val)?
Q6
atol(const char *str) Converts the string pointed to, by the argument str.
Q7
A less common use of setjmp.h is to create syntax similar to . . . . . . . .
Q8
How many macros are defined in the header file stdarg.h?
Q9
What will be the output of the following C code? double log (double -x);
Q10
LC_COLLATE affects strcoll() and strxfrm() functions.
Q11
What will be the output of the following C code, if the system date is 6/24/2017? #include<stdio.h> #include<stdlib.h> #include<time.h> int main() { time_t ct; time(&ct); printf("%s\n",(&ct)); }
Q12
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);
Q13
What will be the output of the following C code? double x=1.8; printf("%.2lf",floor(x));
Q14
The macro which is used to find the maximum value of an unsigned integer is . . . . . . . .
Q15
What will be the output of the following C code? double x=1.2 printf("%.1lf", ceil(x));
Q16
void free(void *p) performs which of the following functions?
Q17
The pointer used in the mblen() function points to the . . . . . . . .
Q18
What will be the output of the following C code? (By date we mean: date, month and year) #include<stdio.h> #include<stdlib.h> #include<time.h> int main() { time_t ct; time(&ct); printf("%s\n",ctime(&ct)); }
Q19
Which function is called by macro assert to terminate the execution?
Q20
The C library function . . . . . . . . function converts the wide character to its multibyte representation.
Q21
The function computes the hyperbolic cosine of x.
Q22
The macro offset expands to a constant of type . . . . . . . .
Q23
Which of the following library functions is used to read location dependent information?
Q24
The macro MB_LEN_MAX is used to find . . . . . . . .
Q25
Which of the following is not defined under the header file stddef.h?