In C++, when you write this inside of main
cout << main << endl;
the output is
1
Can anyone explain why this is? It does it for any function created from my experience, but since main is the default function in most programs, that is the one I used in my example.