C Programming Multiple Choice Questions (MCQ) | IT Developer <?php echo $page_title; ?>
IT Developer

C Programming Multiple Choice Questions (MCQ)

C Programming Multiple Choice Questions (MCQ) - Set 10



Share with a Friend

Multiple Choice Questions


C Programming - Multiple Choice Questions (MCQ) - Set 10

46. Choose the correct statement about Right Shift Operator >>
A). Right shift operator shifts individual bits on to the right side
B). When shifting bits right side, overflow bits on the right are ignored or truncated
C). Zeroes are filled on the left side
D). All of these
View Answer
Correct: D




47. Which is bit toggling operator below?
A). & Bitwise AND
B). | Bitwise OR
C). ^ Bitwise exclusive OR
D). ~ Bitwise complement
View Answer
Correct: D




48. Left Shift operation is equivalent to____
A). Division by 2
B). Multiplying by 2
C). Adding 2
D). Subtracting 2
View Answer
Correct: B




49. Which of the following is a symbol for logical AND operator?
A). II
B). &
C). &&
D). $$
View Answer
Correct: C




50. Right Shift operation >> is equivalent to___
A). Multiplying by 2
B). Division by 2
C). Adding 2
D). Subtracting 2
View Answer
Correct: B