#include <iostream>

using namespace std;

char *answer( const char *question, char *buffer, int size);

int main()
{
    const int bufsize = 80;
    char buffer1[bufsize], buffer2[bufsize];
    cout << answer("Sure? ", buffer1, bufsize) 
         << answer( "How are you? ", buffer2, bufsize) << endl;
    return 0;
}

char *answer( const char *question, char *buffer, int size)
{
    cout << question;
    cin.getline(buffer,size);
    return buffer;
}