Does returning 0 signal successful execution for all functions?
So I'm completely new to C++ but know already a lot about Java.
I'm currently watching thenewboston's tutorial and he said that if you return 0 the computer knows the program works successfully.
Well, my question is now: Does this affect functions? If I want to return a calculated number and it's surprisingly 0, do I get 0 back or does the function send nothing back?