Whatever value i put in the if statement after return (0,1,-1) it comes back to
main().
So why is everybody putting all kind of values there?
Is it a prank on noobs?
Of course im not talking about values as a result of a calculation, that is different.
Code:#include <iostream> using namespace std; int If(void) { int a=2,b=2; if (a==b) {cout << "If...\n" ; return 1;} else {cout << "Else...\n"; return 0;} } int main() { If(); cout << "Main...\n"; return 0; }