Which bitwise operator is suitable for turning off a particular bit in a number?

Home | Discussion Forum
Taiyari24Hour

Which bitwise operator is suitable for turning off a particular bit in a number?



View More Related Question

2) Pick up the odd one out from the following

3) What is the output of this C code?

#include <stdio.h>
int main()
{
int i = -5;
i = i / 3;
printf("%d ", i);
return 0;
}

4) What should be the value of i and k at the end of the following program segments?

 int i,j,k;
{
j=5;
i=2*j/2;
k=2*(j/2);
}

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

UP Gk Online Test

taiyari24hour.com

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