Question: Assume #include #include using namespace std; Given string saying; which of the following will store Lazy hazy days of summer into saying variable? getline(cin, saying);
Assume #include #include using namespace std; Given string saying; which of the following will store "Lazy hazy days of summer" into saying variable? getline(cin, saying); cin.getline(saying); cin.get(saying); cin >> saying;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
