I recently learn the basic of C++. And i found something that i didn't get the idea. Here is the program that make me a little confuse.
       #include <iostream>
    using namespace std;
    int main() 
    {
            int m = 4, n;
            n=++m*--m;
            cout <<"m="<<m<<" and n="<<n<<"\n;
            return 0;
    }
And the output is m=4 and n=16. I thought that m=4, so ++m is 5, and --m will be 4, then n= 5*4= 20. Hence, the m=4 and n=20. I think mine is false. So i need a help. Thank you.
 
     
     
     
     
    