Operators and Expressions MCQs
Practice free Operators and Expressions multiple-choice questions with instant answer feedback and step-by-step solutions. Click an option to check yourself, reveal the full explanation, and work through all 85 questions — no login required.
Question 28easy
Which operator is used to perform a bitwise XOR operation in C?
Question 29easy
What is the result of the expression (6 + 3) / 0 in C?
Question 30easy
What is the result of the expression 5 / 2.0 in C?
Advertisement
Question 31easy
Which of the following operator takes only integer operands?
Question 32easy
In an expression involving || operator, evaluation I. Will be stopped if one of its components evaluates to false II. Will be stopped if one of its components evaluates to true III. Takes place from right to left IV. Takes place from left to right
Question 33easy
Determine output:
void main()
{
int i=0, j=1, k=2, m;
m = i++ || j++ || k++;
printf("%d %d %d %d", m, i, j, k);
}Advertisement
Question 34easy
Determine output:
void main()
{
int c = - -2;
printf("c=%d", c);
}Question 35easy
Determine output:
void main()
{
int i=10;
i = !i>14;
printf("i=%d", i);
}Question 36easy
In C programming language, which of the following type of operators have the highest precedence