Which of the following statements flips bit 1?
A. number & 0x02
B. number | 0x02
C. number ^ 0x02
D. number | 0x01
E. number ^ 0x01
Answer: C
You might also like to view...
A nonbreaking hyphen can be written as or .
Answer the following statement true (T) or false (F)
The Declare statement allocates __________ storage locations to the array named Photos[23].
Fill in the blank(s) with correct word
Which of the following statements is generally true about a linked list implementation of a queue?
b) Elements are added and removed at the rear of the linked list. c) The first operation retrieves the element that was most recently added to the linked list. d) The linked list implementation of a queue maintains references to both ends, the front and the rear, of the linked list. e) All of the above statements are generally true about a linked list implementation of a queue.
How do you initialize a C-string called Cheer which will contain “Hooray” (without the quotes.) ?
A. char Cheer[7] = {‘H’, ‘o’, ‘o’, ‘r’, ‘a’, ‘y’, ‘\0’}; B. char Cheer[7] = “Hooray”; C. char cheer[7] = “Hooray”; D. A and B