Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
C Programming
»
Bitwise Operators
In the statement expression1 >> expression2. if expression1 is a signed integer with its leftmost bit set to 1 then on right shifting it the result of the statement will vary from computer to computer
True
Correct Answer:
True
← Previous Question
Next Question→
More Questions from
Bitwise Operators
Bitwise & can be used to check if a bit in number is set or not.
Left shifting an unsigned int or char by 1 is always equivalent to multiplying it by 2.
On left shifting, the bits from the left are rotated and brought to the right and accommodated where there is empty space on the right?
Bitwise can be used to perform addition and subtraction.
Bitwise | can be used to set multiple bits in number.
Bitwise & can be used in conjunction with ~ operator to turn off 1 or more bits in a number.
Bitwise | can be used to multiply a number by powers of 2.
Bitwise can be used to reverse a sign of a number.
Bitwise can be used to generate a random number.
Bitwise | can be used to set a bit in number.
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment
Join Discussion
Discussion & Comments