Question: If you read a string input: University of Regina using the following code, what will be the output of s? cout < < Enter a
If you read a string input: "University of Regina" using the following code, what will be the output of s? cout << "Enter a string:"; string s; getline(cin, s); cout << s << endl; O a. "University of Regina" O b. "University" O c. "Regina" O d. "of Regina
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
