#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"; obj ob = 10; cout << "about to return from f\n"; return ob; }