I am going through a source code and I found these snippets
extern int main();
main();
and one more is
extern void create_network_device(int N, const char* route, const char* ip);
create_network_device(0, "10.0.0.0/24", "10.0.0.1");
What is happening in the above code ?
edit : the above snippets are in .cpp file. They are being called as shown above without any code in between.