0

Write three different C++ statement to substract 1 from the integer variable n.

Write three different C++ statement to substract 1 from the integer variable n.

19th Apr 2017, 2:53 PM
lzjoe
lzjoe - avatar
2 Antworten
+ 9
n-- --n n-=1
19th Apr 2017, 2:56 PM
Pixie
Pixie - avatar
+ 9
n = n - 1; n--; --n; n -= 1;
19th Apr 2017, 2:57 PM
Rrestoring faith
Rrestoring faith - avatar