+ 1
plzz answer with Gudd explanation i=5; cout<< --i <<endl;
3 Réponses
+ 1
4
0
answer :4
explanation: the cout statement calls for i to be printed but before i is printed it is being told to decrement i.
0
In cout statement "--i" will decrement the value of i before printing on output. It is simply called pre-decreament.