+ 2
Benefits of using void main(), instead of int main()?
are there any benefits?
3 Respuestas
+ 3
None.
You have the oposite. Some compilers won't accept void main(). Only int main.
The int return of the main is the exit status of your program with 0 meaning success.
Hope it was helpful.
+ 2
Well in void function doesn't have to return a value
0
so what is the diffrent void with int? im newbie here