I have a function returning 8 for double return type and 7 for long return type. Am not posting the function since its someway related to the ongoing contest. Can anyone pls tell me why it happens so? Its like
double f(){return y;}
long x=f();
cout<<x<<" "<<f();
O/P is like 7 8