Ch. 5: Loops and Files Ch. 5.1: The Increment and Decrement Operators Flashcards

1
Q

What is an increment?

A

To increment a value means to increase it by one.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does decrement mean?

A

To decrement a value means to decrease by one.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a postfix mode?

A

This means the operator is placed after the variable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a prefix mode?

A

Where the operator is placed before the variable name.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly