I want to call functions defined in test.c from other.c.
Can I extern the function1 to call it? Also, do I have to use extern in <
extern
function1
extern simply tells us that it is defined somewhere else. And you are using it in the file you are writing the extern. But functions are by default extern. So you need not be explicit about it.