ExamVeda
Login
Home
71
The following C code can be rewritten as . . . . . . . .
c = (n) ? a : b;
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
72
Which of the following is a User-defined data type?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
73
Which of the following declaration is illegal?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
74
What will be the output of the following C code?
#include <stdio.h>
void main()
{
    char a = 'A';
    char b = 'B';
    int c = a + b % 3 - 3 * 2;
    printf("%d\n", c);
}
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
75
What will be the output of the following C code?
#include <stdio.h>
int main()
{
    int i = 10;
    int *p = &i;
    printf("%d\n", *p++);
}
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
76
What will be the data type of the result of the following operation?
(float)a * (int)b / (long)c * (double)d
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
77
Which among the following are the fundamental arithmetic operators, i.e, performing the desired operation can be done using that operator only?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
78
What will be the output of the following C code?
#include <stdio.h>
int main()
{
    int p = 10, q = 20, r;
    if (r = p = 5 || q > 20)
        printf("%d", r);
    else
        printf("No Output\n");
}
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
79
Which of the following statement is false?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
80
What will be the output of the following C code?
#include <stdio.h>
void main()
{
    int k = 8;
    int m = 7;
    k < m ? k++ : m = k;
    printf("%d", k);
}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board