Select an option to see the answer and solution.
Operators and Expressions
practice.
Practice every MCQ with options. Use Show answers when you want the correct option and solution.
85
Questions
2/5
Page
Pick an option on a question to see the right answer and solution.
Select an option to see the answer and solution.
Select an option to see the answer and solution.
Select an option to see the answer and solution.
Select an option to see the answer and solution.
Select an option to see the answer and solution.
Select an option to see the answer and solution.
Select an option to see the answer and solution.
Select an option to see the answer and solution.
Select an option to see the answer and solution.
Select an option to see the answer and solution.
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
Select an option to see the answer and solution.
void main()
{
int i=0, j=1, k=2, m;
m = i++ || j++ || k++;
printf("%d %d %d %d", m, i, j, k);
}Select an option to see the answer and solution.
void main()
{
int c = - -2;
printf("c=%d", c);
}Select an option to see the answer and solution.
void main()
{
int i=10;
i = !i>14;
printf("i=%d", i);
}Select an option to see the answer and solution.
Select an option to see the answer and solution.
void main()
{
int a, b, c, d;
a = 3;
b = 5;
c = a, b;
d = (a, b);
printf("c=%d d=%d", c, d);
}Select an option to see the answer and solution.
Select an option to see the answer and solution.
#include <stdio.h>
void main()
{
int i = 3;
int j;
j = sizeof(++i + ++i);
printf("i=%d j=%d", i, j);
}Select an option to see the answer and solution.
Select an option to see the answer and solution.