MCQOPTIONS
Bookmark
Saved Bookmarks
→
Company QA
→
C Declarations
→
Which of these expressions will isolate the rightm...
1.
Which of these expressions will isolate the rightmost set bit?
A.
x = x & (~x)
B.
x = x ^ (~x)
C.
x = x & (-x)
D.
x = x ^ (-x)
Answer» E.
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
What will be the output of the following C++ function?
0946, 786427373824, ‘x’ and 0X2f are _____ _____ ____ and _____ literals respectively.
What is the value of the following 8-bit integer after all statements are executed?
The size_t integer type in C++ is?
ANDING_INTEGER_‚ÄÖ√Ñ√∂‚ÀÖ√Ë‚Àւ§A‚ÄÖ√Ñ√∂‚ÀÖ√Ë‚ÀÖ¬•_WITH_‚ÄÖ√Ñ√∂‚ÀÖ√Ë‚Àւ§TRUE‚ÄÖ√Ñ√∂‚ÀÖ√Ë‚ÀÖ¬•_:8?$#
0946, 786427373824, ‘x’ and 0X2f are _____ _____ ____ and _____ literals respectively.$
Which of these expressions will isolate the rightmost set bit?
Which of these expressions will make the rightmost set bit zero in an input integer x?
Which of these expressions will return true if the input integer v is a power of two?
x is greater
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies