int myfunction( int myinput ) {
cout << "Starting myfunction()... ";
if ( myinput > 0 )
return 1;
else if ( myinput == 0 )
return 0;
else
return -1;
cout << "Stopping myfunction()...";
}
What will be output by the above function?
* a - Starting myfunction()... Stopping myfunction()...
* b - Starting myfunction()...
* c - Stopping myfunction()...
* d - Nothing