New course! Every coder should learn Generative AI!
Try a free lesson+ 3
+ Addition operator
It is used to add two operands together.
2 + 7 == 9
5 + 't' == '5t'
++ Increment operators
When it comes before the operand, it increments the operand by 1 immediately.
a = 9
++a == 10
When it comes after the opersnd, it increments the operand after the statement's execution. (Post-increment)
a = 9
a++ == 9
a == 10