Question: q4) CONSIDER THE FOLLOWING CODE: using the following input: // Question void Question() { string list = ; cout < < Enter a string

q4)

CONSIDER THE FOLLOWING CODE: using the following input: // Question void Question() { string list = ""; cout << "Enter a string " << endl; cin >> list; for (int i = 4; i >= 0; i--) cout << list[i] << " "; }

Select one:

a. n o i t s e u Q

b. s t i o n

c. t s e u Q

d. Q u e s t i o n

please explain how you get the answer. Thank you

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!