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
Get step-by-step solutions from verified subject matter experts
