Question: Question 3 [CLO-7] consider the following program segment. Assume the user input is Exam #1 GNEG230 string stri; string str2; string str3; cout > str1;
Question 3 [CLO-7] consider the following program segment. Assume the user input is Exam #1 GNEG230 string stri; string str2; string str3; cout > str1; str2 = "DO"; str3 = " 2 "; strl += str3; strl += str2; What is the value of str1 after the program is executed? strl =
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
