Which bitwise operator is suitable for checking whether a particular bit is on o

Home | Discussion Forum
Taiyari24Hour

Which bitwise operator is suitable for checking whether a particular bit is on or off?

View More Related Question

2) Consider the following statements:

 int a=2, b=3, c=4;
a=(b++) +c;
b=a+(++c);
What are the values of a, b and c, respectively?

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)

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.