Which of the following is not logical operator?

Home | Discussion Forum
Taiyari24Hour

Which of the following is not logical operator?



View More Related Question

1) What is the output of this C code?

#include <stdio.h>
int main()
{
int i = -3;
int k = i % 2;
printf("%d\n", k);
}

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

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()
{
int y = 3;
int x = 5 % 2 * 3 / 2;
printf("Value of x is %d", x);
}

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

UP Gk Online Test

taiyari24hour.com

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