¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
What is the difference between postfix ans prefix what's the value of a++ and ++a if a=4?
4 Respuestas
+ 3
thanks
0
++i increments i and evaluates to the new value of i.
i++ evaluates to the old value of i, and increments i.
0
4 and 5