C Language MCQ - English
Which bitwise operator is suitable for checking whether a particular bit is on o
Home | Discussion ForumWhich bitwise operator is suitable for checking whether a particular bit is on or off?
Answer : B
View More Related Question
1) A typecast is used to:
View Answer
2) What is the output of this C code?
#include <stdio.h>
int main()
{
int i = 3;
int l = i / -2;
int k = i % -2;
printf("%d %d\n", l, k);
return 0;
}
3) 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);
}
4) Which among the following are the fundamental arithmetic operators, ie, performing the desired operation can be done using that operator only?
5) What would be the value of c? {
int c;
float a,b;
a=245.05;
b=40.02;
c=a+b;
}