ExamVeda
Login
Home
61
The following C expression can be substituted for?
if (isalpha(c) && isdigit(c))
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
62
What will the given code result is
printf("\n you are\"awesome \" ");
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
63
What will be the output of the following C code?
#include <stdio.h>
int main()
{
    char *str = "hello, world\n";
    printf("%d", strlen(str));

}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
64
Which is not true about function tolower?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
65
putchar(c) function/macro always outputs character c to the . . . . . . . .
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
66
What is the meaning of the following C statement?
scanf("%[^\n]s", ch);
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
67
What is the return type of rand() function?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
68
What will be the output of the following C code?
#include <stdio.h>
int main()
{
    FILE *fp = stdout;
    int n;
    fprintf(fp, "%d ", 45);
    fprintf(stderr, "%d ", 65);
    return 0;
}
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
69
What will be the output of the following C code?
#include <stdio.h>
int main()
{
    printf("%d\n", srand(9000));
    return 0;
}
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
70
What are the Properties of the first argument of a printf() functions?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board