Multiple Choice
Which statement is equivalent to the following? x = x * 2;
A) x * 2;
B) x *= 2;
C) x = x * x;
D) None of these
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q4: When this operator is used with string
Q13: What is the value stored at x,
Q15: Assume that x is an int variable.
Q15: In C++, it is impossible to display
Q17: The only difference between the get function
Q19: Which is true about the following statement?
Q24: When a program uses the setw manipulator,
Q31: When C++ is working with an operator,
Q34: The cin << statement will stop reading
Q38: This stream manipulator forces cout to print