CJCoding With Joseph
← Back to Question List
C# Code Walkthrough #10

Chained Compound Assignments

easyOperators

📄 Code

Read carefully — what does this print?
1int x = 10;
2x += 5;
3x *= 2;
4x -= 3;
5Console.WriteLine(x);

🎯 Your Answer