saianurag (0)

I'm an absolute beginner and can anyone help me with the error.

You are viewing a single comment. View All
KelvinVerhey (38)

@mwilki7 @saianurag this is a correct.

Make sure you delete main1.c from the project and it will compile. That is a direct copy of main.c and as mentioned puts two main() functions in the project. The compiler can only sort out one entry for a program.