I think the third output should be 3 and 2, but why I got this result? how the vs output the result?
plus, I found somewhere, they say we should prefer use '\n' than std::endl, because std::endl with flush the stram, what does the flush mean? is it bad? and when should we flush the stream? (I think input '\n' is quicker than std::endl)
std::cout << n++ << std::endl << n--;
// I run the code below in Eclipse, is post an waring, says:
operation on 'n' may be undefined [-Wsequence-point]