I was trying to run a code.
#include<iostream>
#define CUBE(x)(x*x*x)
using namespace std;
int main(){
    int x=5;
    int y=CUBE(++x);
    cout<<y<<endl;
    return 0;
}
According to me its output should be 216 but surprisingly its output is coming out to be 392.Someone please help me to get logic behind this.
 
     
     
    