0
What is difference between int main and void main in c language
3 Réponses
+ 4
Please try to search the forum first before posting a question. This subject had been discussed before 👍
+ 3
A function declared as void should not return any value.
A function declared as int should return an integer value.
+ 2
void main used only in devices without operating system. Any OS requires that in the end program returning status .