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

3) What is the output of this C code?

#include <stdio.h>
void main()
{
char a = 'a';
int x = (a % 10)++;
printf("%d\n", x);
}

4) What is the output of this C code?

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

5) What is the output of this C code?

 #include <stdio.h>
void main()
{
1 < 2 ? return 1: return 2;
}

UP Gk Online Test

taiyari24hour.com

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