(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...



(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?





May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here