ExamVeda
Login
Home
Variable Names and Operators
?

What is the value of x after the following code: x = 5; x += 3; ?

Answer & Solution
Correct Answer: Option B
The += operator adds the right operand to the left operand and assigns the result to the left operand.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.