It will be just fine. But all you do is declare a function. This is the same as adding an ad (not a prototype) at the top level.
int hey( );
You can call a function in a declaration if it is part of an initializer.
#include <stdio.h>
int main()
{
int reply=hey();
return 0;
}
int hey(){
return printf("Hello");
};
But usually, to call a function, you simply place the call in the expression of the expression (without a declaration).
#include <stdio.h>
int main()
{
int reply;
int hey();
(void) hey();
return 0;
}
int hey(){
return printf("Hello");
};
, . C99 ( "" ) , .
IIRC splint .
, . , , . , , .
, , args (char, short, int) int, float double. #include <stdarg.h> ( printf), , .
, . ( ), , , . (...), . , void (*fp)();.