(This exercise is for those who have studied the optional section entitled
“File Names as Input.”) Suppose you are given the following string
variable declaration and input statement:
#include
using namespace std;
// ...
char name[21];
cout >> name;
Suppose this code segment is embedded in a correct program. What is the
longest name that can be entered into the string variable name?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here