Hello can i change return(0) to another numbers like 2,3,5 and what is the function of return thabk | SoloLearn: Learn to code for FREE!

+1

Hello can i change return(0) to another numbers like 2,3,5 and what is the function of return thabk

5/19/2020 11:42:26 AM

Boqorre Hd

2 Answers

New Answer

0

Yes, you can. https://code.sololearn.com/chVVP4d3UD3x/?ref=app

0

The value returned from main is passed to the operating system where it is stored as an error value. Nothing is actually done with it unless you specifically write code to handle it. Not every value returned is even an error. The value returned means whatever the programmer wants it to mean. It could represent the number of lines in a file, the number of files in a folder, or it could mean the phase of the moon. You need to read the documentation that comes with the program.