Question: Which of the following expressions multiply the value of the integer variable $a by 4? (Choose 2)
A
B
C
D
E
$a *= pow (2, 2);
B
$a >>= 2;
C
$a <<= 2;
D
$a += $a + $a;
E
None
Note: The correct answers are A and C. In Answer A, the pow function is used to calculate 22, which corresponds to 4. In Answer C, the left bitwise shift operator is used to shift the value of $a by two bits to the left, which corresponds to a multiplication by 4.