cannot change int * into float *

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
Topic archived. No new replies allowed.