Sail E0 Webinar
Question

Which of these statements are incorrect?


Options:
A .  The left shift operator,
B .  The right shift operator, >>, shifts all of the bite in a value to the right specified number of times.
C .  The left shift operator can be used as an alternative to multiplying by 2.
D .  The right shift operator automatically fills the higher order bits with 0.
Answer: Option D

The right shift operator automatically fills the higher order bit with
its previous contents each time

a shift occurs. This also preserves the
sign of the value.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers