Could someone please tell me if this is possible in C or C++?
void fun_a(); //int fun_b(); ... main(){ ... fun_a(); ... int fun_b(){ ...
Not in standard C, but gcc and clang support them as an extension. See the gcc online manual.
gcc
clang