0
Does the main fuction also returns values?
I haven't seen main function returning any values, is there any use of int along with main()?
1 ответ
+ 1
not necessary to use int with main use void main()
no need to return any value no return statement needed at the and when we written int with main that means the no. of error the program return and we don't want any error so we return 0