Which of the given function is used for searching?
Select an option to see the answer and solution.
The library function clock() returns the number of . . . . . . . . elapsed since the start of the program.
Select an option to see the answer and solution.
Which of the given C function can be used instead of the apparent identity pointed to by y?
int x=1;
double y= 0.5 * (exp (x) + exp (-x));
Select an option to see the answer and solution.
Select the right statement with reference to malloc() and calloc().
Select an option to see the answer and solution.
Which is the correct declaration of macro assert?
Select an option to see the answer and solution.
Which line from the given code is the passive form?
#undef assert
#ifdef NDEBUG
#define assert (test) ( (void) 0)
#else
#define assert (test)
#endif
Select an option to see the answer and solution.
. . . . . . . . defines the minimum value for a short integer.
Select an option to see the answer and solution.
The . . . . . . . . function converts the initial portion of the string pointed to by, to int representation.
Select an option to see the answer and solution.
The ldexp() function multiplies a floating-point number by an integral power of 2.
Select an option to see the answer and solution.
setjmp takes a jmp_buf type and different other type variables as input.
Select an option to see the answer and solution.
What is the name of the function that is used to convert multibyte character to wide character?
Select an option to see the answer and solution.
The header file assert.h of the C Standard Library defines . . . . . . . . macro.
Select an option to see the answer and solution.
The macro offset expands to a constant of type . . . . . . . .
Select an option to see the answer and solution.
LC_COLLATE affects strcoll() and strxfrm() functions.
Select an option to see the answer and solution.
What will be the output of the following C code?
double x=1.8;
printf("%.2lf",floor(x));
Select an option to see the answer and solution.
Which of the following is not defined under the header file stddef.h?
Select an option to see the answer and solution.
Which of the following library functions is used to read location dependent information?
Select an option to see the answer and solution.
The function computes the hyperbolic cosine of x.
Select an option to see the answer and solution.
What will be the output of the following C code?
double log (double -x);
Select an option to see the answer and solution.
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));
}
Select an option to see the answer and solution.