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