What is difference between void and void main in c language | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

What is difference between void and void main in c language

8th Aug 2017, 10:19 AM
bhuvana chandra
bhuvana chandra - avatar
2 Respuestas
+ 6
void is a keyword in which the function is not returning any value whereas void main is a main function like int main i hope it helped you :)
8th Aug 2017, 11:21 AM
Vansh Wadhwa
Vansh Wadhwa - avatar
+ 1
void means the "function" will not "return value", and void main means the "main function" will not return value. Hope I have answer your questions
8th Aug 2017, 11:27 AM
懵懂蔡
懵懂蔡 - avatar