Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
60% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #107.41K
~571 People Reached
Favorite Forums
Favorite Tags
c++ x 1
Member Avatar for sgw

Why doesn't the code (2) below produce the same output as the code (1)? Let's say you entered "4" as input: (1) int x; cout << "enter integer: "; cin >> x; cout << x++; cout << ++x; cout << x; The output of the above is "**466**" (as expected). …

Member Avatar for sgw
0
571