#include <iostream> using namespace std; char *answer( char *question); int main() { cout << answer("Sure? ") << answer( "How are you? ") << endl; return 0; } // very bad code!! char *answer( char *question) { cout << question; char *buffer = new char[80]; cin.getline(buffer,80); return buffer; }