A good answer might be:Yes. |
Prefix Increment OperatorThe increment operator ++ can be written in front of a variable. When it is written in front of a variable (as in ++counter) it is called a prefix operator; when it is written behind a variable (as in counter++) it is called a postfix operator. Both uses will increment the variable; However:
When the increment operator is used as part of an arithmetic expression you must distinguish between prefix and postfix operators.
It is vital to carefully study the following:
Inspect the following code:
|
QUESTION 6:What will this fragment write out? Click Here after you have answered the question |