What is void main () 2024?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Studied at the University of Manchester, Lives in Manchester, UK.
Actually main is the parent function of all the functions in C. If we don't need any return value we use return type 'void'. we can also use ' int' as return type. After all main() is also a function there is a flexibility of mentioning return type to it by user .
2023-05-10 05:47:19
评论(499)
Helpful(122)
Helpful
Helpful(2)

Isabella Wilson
QuesHub.com delivers expert answers and knowledge to you.
Actually main is the parent function of all the functions in C. If we don't need any return value we use return type 'void'. we can also use ' int' as return type. After all main() is also a function there is a flexibility of mentioning return type to it by user .