215k views
2 votes
What is the value of j after this code is executed? int i = 6, int j=10; j+=i;

User Gizella
by
5.0k points

1 Answer

4 votes

Answer:

16

Step-by-step explanation:

+= is an assignment operator that adds a value to the existing value.

User Sodbileg Gansukh
by
5.3k points