0
Order of precedence of prefix and postfix
int main() { int x=0; cout<<(x + x++); x=0; cout<<(x++ + x); return 0; } can anyone explain why does both the cout statements give same value? int the first one it should be 0 in second one it should be1
1 Resposta