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

1) What is the output of this C code?

#include <stdio.h>
void main()
{
unsigned int x = -5;
printf("%d", x);
}

2) What is the output of this C code?

#include <stdio.h>
int main()
{
int a = 10;
double b = 5.6;
int c;
c = a + b;
printf("%d", c);
}

3) 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;
}

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

5) Which among the following are the fundamental arithmetic operators, ie, performing the desired operation can be done using that operator only?

UP Gk Online Test

taiyari24hour.com

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