Please tell me about void main(void) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Please tell me about void main(void)

how can I use it in c language

17th Feb 2018, 10:41 AM
Shahbaj Ahamd
Shahbaj Ahamd - avatar
2 Answers
+ 5
void main(void) tells that there is a main() function declaration that do not return any value as it follows void keyword and void inside parenthesis () shows that main function not require any parameter or argument. It may also be written as void main()
24th Feb 2018, 1:03 PM
Nikhil
Nikhil - avatar
+ 3
void main(void) is same as void main() used for calling main function
17th Feb 2018, 11:37 AM
‎ ‏‏‎Anonymous Guy