Written by the Fiveable Content Team โข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโขWritten by the Fiveable Content Team โข Last updated September 2025
Definition
The expression 'count++' is a post-increment operator in programming. It increases the value of the variable count by 1 and returns the original value of count before the increment.
Related terms
Pre-increment ('++count'): This operator increases the value of count by 1 and returns the updated value.
Assignment operator ('='): Used to assign a value to a variable.
Decrement operator ('--'): Decreases the value of a variable by 1.