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);
Select an option to see the answer and solution.
The C library function . . . . . . . . function converts the wide character to its multibyte representation.
Select an option to see the answer and solution.
A domain error occurs if x is negative and y is not an integral value for the function pow(double x, double y).
Select an option to see the answer and solution.
Which statement is correct work reference to endptr?
double strtod(const char *nptr, char **endptr);
Select an option to see the answer and solution.
Which of the following is the correct syntax of the function strtoul()?
Select an option to see the answer and solution.
A less common use of setjmp.h is to create syntax similar to . . . . . . . .
Select an option to see the answer and solution.
What will be the output of the following C code?
double x=1.2
printf("%.1lf", ceil(x));
Select an option to see the answer and solution.
Which of the given function differs from the statement'errno is not neccessarily set on conversion error'?
Select an option to see the answer and solution.
The macro MB_LEN_MAX is used to find . . . . . . . .
Select an option to see the answer and solution.
Which function is called by macro assert to terminate the execution?
Select an option to see the answer and solution.
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));
}
Select an option to see the answer and solution.
The macro which is used to find the maximum value of an unsigned integer is . . . . . . . .
Select an option to see the answer and solution.
Which of the given statement is not true with respect to void longjmp( jmp-buf env, int val)?
Select an option to see the answer and solution.
void free(void *p) performs which of the following functions?
Select an option to see the answer and solution.
atol(const char *str) Converts the string pointed to, by the argument str.
Select an option to see the answer and solution.
How many macros are defined in the header file stdarg.h?
Select an option to see the answer and solution.
The pointer used in the mblen() function points to the . . . . . . . .
Select an option to see the answer and solution.
What is the role of the given C function?
void va_end(va_list ap)
Select an option to see the answer and solution.
The . . . . . . . . macro shall be invoked before any access to the unnamed arguments.
Select an option to see the answer and solution.
Correct code to turn assertions OFF at various places throughout a source file is . . . . . . . .
Select an option to see the answer and solution.