A good answer might be:The answer is given below. |
Increment OperatorThe increment operator ++ adds one to a variable. Usually the variable is an integer type (byte, short, int, or long) but it can be a floating point type (float or double.) The two plus signs must not be separated by any character. Usually they are written immediately adjacent to the variable, as in the following:
The increment operator can be used as part of an arithmetic expression, as in the following:
It is vital to carefully study the following:
Inspect the following code:
|
QUESTION 3:What does the above program print? Click Here after you have answered the question |