I am using Eclipse for C programming.
While building the program I am getting a multiple definition of 'main' error.
I have multiple source files in the same project, so why I am getting a multiple definition error, how can I avoid it?
Is it correct to have more than one source file in the same project?