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