Consider the following code (and assume it is embedded in a complete
and correct program and then run):
char a[80], b[80];
cout << "Enter some input:\n";
cin >> a >> b;
cout << a << '-' << b << "END OF OUTPUT\n";
If the dialogue begins as follows, what will be the next line of output?
Enter some input:
The time is now.
Output:
Enter some input:
19
29
19-29
END OF OUTPUT
Complete program code:
#include <iostream>
using namespace std;
int main()
{
char a[80], b[80];
cout << "Enter some input:\n";
cin >> a >> b;
cout << a << '-' << b << "\nEND OF OUTPUT";
system("pause");
return 0;
}