+ 1
Guys what is " return 0; " Mean in coding language specificaly C++?
Newbie
2 Réponses
+ 2
Return keyword used to return some value to calling function. Main function returns value to calling function (Operating system in this case). 0 means no problems occurred during execution. And return some other values in case of errors. errors codes are used to identify errors