+ 1

Guys what is " return 0; " Mean in coding language specificaly C++?

Newbie

27th Sep 2020, 7:35 AM
Linus Tech Tips Fans
Linus Tech Tips Fans - avatar
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
27th Sep 2020, 8:43 AM
Azhagesanヾ(✿)
Azhagesanヾ(✿) - avatar