SyntaxFix
Write A Post
Hire A Developer
Questions
You need to compile and then link the object files like this:
gcc -c a.c gcc -c b.c gcc a.o b.o -o prog