#include #include #include "obj.h" using namespace std; obj f(); int main() { cout << "start of main\n"; f().print(); cout << "\n"; cout << "end of main\n"; return EXIT_SUCCESS; } obj f() { cout << "start of f\n"; cout << "about to return from f\n"; return obj(10); //Don't bother to give the object a name. }