The exercise tells me to find the error in this code
cout << "Inside function g" << endl;
cout << "Inside function h" << endl;
The listed error is that function h should not be defined inside of function g. I understand that. But aren't functions h and g supposed to return an int? It's not listed in the book answer section as an error, but it seems fishy.