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

Home | Discussion Forum

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

View More Related Question

2) Operator precedence determines which operator:

3) Consider the following program segment:

 main()
{
int a,b,c;
b=3;
a=2;
a=2*(b++);
c=2*(++b);
}
The correct values are:

4) What is the output of this C code?

#include <stdio.h>
void main()
{
int x = 0;
if (x = 0)
printf("Its zero\n");
else
printf("Its not zero\n");
}

5) What is the value of x in this C code?

#include <stdio.h>
void main()
{
int x = 5 * 9 / 3 + 9;
}

UP Gk Online Test

taiyari24hour.com

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