I cannot figure out how to convert the value of a referenced float
pointer when it is referenced from an integer casted into a float
pointer. I'm sorry if I'm wording this incorrectly. Here is an example of what I mean:
#include <stdio.h>
main() {
int i;
float *f;
i = 1092616192;
f = (float *)&i;
printf("i is %d and f is %f\n", i, *f);
}
the output for f
is 10
. How did I get that result?