0
Please explain in detail prefix and postfix
2 Respuestas
+ 8
https://www.sololearn.com/discuss/69892/?ref=app
and many others...
+ 1
prefix / postfix:
pre.... means before
post... means after
for example (underscore is used as pre/post fix):
___WordWithPrefix
WordWithPostFix___
in programming you often touch these description with the increment/decrement function for an integer
int i = 0;
++i => Prefix increment
i++ => Postfix increment
The first one is incremente before any other action with this variable.
The second one will be incremented after any action with this variable