ExamVeda
Login
Home
41
What is FILE reserved word?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
42
What will be the output of the following C code?
#include <stdio.h>
#include <math.h>
int main()
{
    unsigned int i = -1;
    printf("%f\n", fabs(i));
    return 0;
}
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
43
Each call of va_arg . . . . . . . .
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
44
setvbuf() and setbuf() function controls buffering for the stream.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
45
What will be the output of the following C code if following commands are used to run (considering myfile exists)?
gcc -otest test.c
./test < myfile

#include <stdio.h>
int main()
{
    char c = 'd';
    putchar(c);
}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
46
What will be the output of the following C code?
#include <stdio.h>
#include <ctype.h>
int main()
{
    int i = 0;
    if (isspace(i))
        printf("space\n");
    else
        printf("not space\n");
        return 0;
}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
47
fputs() function writes a string to a file that only ends with a newline.
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
48
. . . . . . . . removes the named file, so that a subsequent attempt to open it will fail.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
49
Escape sequences are prefixed with . . . . . . . .
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
50
What is the default return-type of getchar()?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board