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

Home | Discussion Forum
Taiyari24Hour

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



View More Related Question

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

3) Which of the following is not logical operator?

4) What will be the value of count after the following program is executed?

 main()
{
int count, digit=0;
count=1;
while(digit<=9)
{
printf("%d\n",++count);
++digit;
}
}

5) What is the output of this C code?

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

UP Gk Online Test

taiyari24hour.com

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