+ 2

Difference between postfix,prefix and infix

1st Nov 2016, 7:50 PM
Saksham Jain
Saksham Jain - avatar
2 Antworten
0
in c++ if we have an increment or decrement valur as it would be integer postfix means x++ and prefix means ++x
1st Nov 2016, 7:57 PM
Eng. Anas Rauf
Eng. Anas Rauf - avatar
0
for decrement it is x-- and --x respectively.
1st Nov 2016, 7:57 PM
Eng. Anas Rauf
Eng. Anas Rauf - avatar