+ 3

What would happen if I write return 1 iin C programming language?

22nd Jul 2021, 5:12 AM
Anand Raj
Anand Raj - avatar
2 Respuestas
+ 5
Nothing. The return value is used by proces who started the program, like the command prompt. You can use it in a .bat script. 0 stands for succes, anything else for error.
22nd Jul 2021, 5:23 AM
sneeze
sneeze - avatar