ExamVeda
Login
Home
81
Which of the following typecasting is accepted by C?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
82
Which of the following is a ternary operator?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
83
What will be the output of the following C code?
#include <stdio.h>
int main()
{
    int a = 2;
    if (a >> 1)
       printf("%d\n", a);
}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
84
What will be the output of the following C code?
#include <stdio.h>
int const print()
{
    printf("example.com");
    return 0;
}
void main()
{
    print();
}
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
85
What will be the output of the following C code?
#include <stdio.h>
void main()
{
    double b = 3 && 5 & 4 % 3;
    printf("%lf", b);
}
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
86
Operation "a = a * b + a" can also be written as . . . . . . . .
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
87
Which of the following is an invalid assignment operator?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
88
Which of the following are unary operators?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
89
Which of the following data type will throw an error on modulus operation(%)?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
90
What will be the output of the following C code?
#include <stdio.h>
void main()
{
    int x = 0, y = 2, z = 3;
    int a = x & y | z;
    printf("%d", a);
}
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board