void f()
{
Floating a;
printf("%f ",a); //Your original output format is wrong.
}
Functions of void type have no return value, that is, no return statement is required.
Of course, you can also add an empty return statement at the end of the function: return; (and returns1; Is different)
Empty f (floating point a)
{printf("%f ",a);
}
It is also right. ....