[try Beta version]
Not logged in

 
cannot change int * into float *

Feb 11, 2012 at 4:32pm
Int main()
{
int hello = 8;
function(&hello);
return 0;
}

void function(float* hello)
{
*hell = 5;
}


Is it possible to to make this code work without changing veriable types and still same layout?
Last edited on Feb 11, 2012 at 4:32pm
Topic archived. No new replies allowed.