In the code below, when i put message(true); into the main function it outputs Hello,which i understand, but what i don't understand is why when i put in just message(false); it outputs goodbye, wouldn't that mean the message function would basically read
void message ( false)
{
if ( false)
cout << "Hello" << endl;
else
cout << "Goodbye" << endl;
which would output Hello? I'm sure this is a very easy problem but any help would be appreciated , thanks.