I basically have a function that returns an int. I know that the value of the int should be 6, but when I assign the function to an int variable, that int variable has a value different than 6.
Or in other words
int main(void)
{
int ff= 0;
ff= f1();
cout << ff;
}
int f1 ()
{return 6;}
Output
2342342424
Thanks!
Or in other words
int main(void)
{
int ff= 0;
ff= f1();
cout << ff;
}
int f1 ()
{return 6;}
Output
2342342424
Thanks!
Comment