if I'm using two separate files (header and source files) to run a code, on which side should I put my int main? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

if I'm using two separate files (header and source files) to run a code, on which side should I put my int main?

2nd Jan 2017, 9:31 PM
Cody Arthur
Cody Arthur - avatar
2 Answers
+ 5
On the source file of course.
2nd Jan 2017, 9:32 PM
Karl T.
Karl T. - avatar
+ 2
source file will contain the main part
2nd Jan 2017, 9:34 PM
Apurva Mishra
Apurva Mishra - avatar