Question: data 5. Given the input January 25, 2005 and the input statement cin >> stringl >> string2; a. What is contained in each of the
data 5. Given the input January 25, 2005 and the input statement cin >> stringl >> string2; a. What is contained in each of the string variables after the statement is executed? b. Where is the reading marker after the statement is executed? 6. Given the input data January 25, 2005 and the input statement getline (cin, string1) a. What is contained in the string variable after the statement is executed b. Where is the reading marker after the statement is executed? 7. Given the input data January 25, 2005 and the input statement (where the type of each variable is given by its name) cin stringl int1 > chari string2: a. What is contained in each of the variables after the statement is executed? b. Where is the reading marker after the statement is executed? d. If the reading marker is on the newline character at the end of a line, and you ca get function, what value does it return in its argument? at do the two arguments to the i gnore function specify
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
