C Language MCQ - English
Which bitwise operator is suitable for checking whether a particular bit is on o
Home | Discussion ForumWhich bitwise operator is suitable for checking whether a particular bit is on or off?
Answer : B
View More Related Question
1) Which bitwise operator is suitable for turning on a particular bit in a number?
2) Consider the following statements: int a=2, b=3, c=4;
What are the values of a, b and c, respectively?
a=(b++) +c;
b=a+(++c);
3) What is the output of this C code?
#include <stdio.h>
int main()
{
int a = 10, b = 5, c = 5;
int d;
d = a == (b + c);
printf("%d", d);
}
4) What is the output of this C code?
#include <stdio.h>
int main()
{
int x = 2, y = 2;
x /= x / y;
printf("%d\n", x);
return 0;
}
5) The precedence of arithmetic operators is (from highest to lowest)