I am sorry. I should change my question. I have the following code
std::vector<int> v = {10, 20, 30};
auto it = v.begin();
std::cout << *it++ << std::endl; // 1. no parenthesis
std::cout << *(it++) << std::endl; // 2. with parenthesis
it++; // 3. post-increment first
std::cout << *it << std::endl;
std::cout << *(it + 1) << std::endl;// 4. increment index
What is the difference between the above 4 statements? Is the parenthesis matter in post increment? All outputs are the same as my expectations except 2(with parenthesis).