You define your function in one source file and call it from another without providing a signature so that the compiler considers that signature int Function(), which leads to strange results.
You must add the signature: float Function();to the file where it is located printf.
For instance:
float Function();
float value;
value = Function();
fprintf(stderr, "Printing 1.0f: %f", value);
source
share