#include <iostream> using namespace std; char *answer( char *question); int main() { cout << answer( "How are you? ") << endl; return 0; } // very bad code!! char *answer( char *question) { cout << question; char buffer[80]; cin >> buffer; // buffer overrun!! return buffer; // never do this! }