Question: Everytime I write a program in C it generates a error daying that the main function must be int(return type) even I declare it void.
Everytime I write a program in C it generates a error daying that the main function must be int(return type) even I declare it void. Although I don't have anything to do with returning any value. Can u explain why? I am a beginner so give a detailed explanation.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
