C Language MCQ - English
Which bitwise operator is suitable for turning off a particular bit in a number?
Home | Discussion ForumWhich bitwise operator is suitable for turning off a particular bit in a number?
&& operator
& operator
|| operator
! operator
Answer : B
View More Related Question
1) What is the value of x in this C code?
#include <stdio.h>
void main()
{
int x = 5 * 9 / 3 + 9;
}
2) What will be the value of count after the following program is executed? main()
{
int count, digit=0;
count=1;
while(digit<=9)
{
printf("%d\n",++count);
++digit;
}
}
3) In which numbering system can the binary number 1011011111000101 be easily converted to?
4) In mathematics and computer programming, which is the correct order of mathematical operators ?
Addition, Subtraction, Multiplication, Division
Division, Multiplication, Addition, Subtraction
Multiplication, Addition, Division, Subtraction
Addition, Division, Modulus, Subtraction
View Answer
5) What is the output of this C code?
#include <stdio.h>
void main()
{
unsigned int x = -5;
printf("%d", x);
}