0
C return
What if in the end of main function of a c program I return instead of 0, some other integer (for example 139)
6 ответов
+ 3
Yes,you can do it ,return 0 or return 139 or some other integer number is only a confirmation for the operating system that is your program will be run successfully, that's it
+ 2
And if I return 139, program will be run successfully?
+ 1
Yes,
+ 1
You can return any integer number
0
Check my profile ,I have coded about your problem
https://code.sololearn.com/cUSOrU6gqLw6/?ref=app
0
Thank you,I understand!
If you can, ask my new question about constants.