For unsigned integers, each left shift (using the << operator) corresponds to ____.

A. multiplication by 2
B. division by 2
C. multiplication by 4
D. division by 4


Answer: A

Computer Science & Information Technology

You might also like to view...

__________ is not allowed.

a. Accessing individual bits in a multi-bit bit field. b. Padding a bit field with bits that cannot be accessed. c. Having an unnamed bit field. d. Having a bit field with a zero width.

Computer Science & Information Technology

The statements int x = 1; int y; y = x++;

a. Assign y the value 2; b. Change the value of x to 2. c. Assign y the value 0; d. Assign y the value 1; e. The ++ is a postfix operator.

Computer Science & Information Technology

What is the difference between the iterators defined here.

What will be an ideal response? ``` vector vec; //put 10 values into vec const vector::iterator p = vec.begin(); vector::const_iterator q = vec.begin(); ```

Computer Science & Information Technology

Explain why many companies use enterprise resource planning (ERP) software. 

What will be an ideal response?

Computer Science & Information Technology