Advertisements
Advertisements
Question
The statement p + = 5 means p = p*5.
Options
True
False
MCQ
True or False
Solution
This statement is False.
Explanation:
The statement p + = 5 is improper syntax in most computer languages, including Java and C++. The correct compound assignment operator for addition is p + = 5, which indicates p = p + 5, rather than p = p * 5.
shaalaa.com
Is there an error in this question or solution?