0
It is necessary to put return 0 in void main or in any other function if you don't need to return anything?
Return function
3 ответов
+ 2
return 0 is if it's not void if void then no return and in javascript there is no data type of function
+ 1
yes if the return type is other than void