The code below should return the value 216 but it returns 392 that is (7*7*8) . Can somebody please explain me how?
#include<iostream>
#define cube(x) (x*x*x)
using namespace std;
int main()
{
int x=5;
cout<<cube(++x);
cout<<endl;
return 0;
}