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) What is the output of this C code?

#include <stdio.h>
void main()
{
int k = 8;
int x = 0 == 1 && k++;
printf("%d%d\n", x, k);
}

3) What would be the value of c?

 {
int c;
float a,b;
a=245.05;
b=40.02;
c=a+b;
}

4) What is the output of this C code?

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

5) A typecast is used to:

UP Gk Online Test

taiyari24hour.com

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