Question: 1. Write a C++ program that will print reverse of a string. (3 Marks) Example, Input: Hello Output: olleH Input: How are you? Output: ?uoy



1. Write a C++ program that will print reverse of a string. (3 Marks) Example, Input: "Hello" Output: "olleH" Input: "How are you?" Output: "?uoy era woH" Input: "The answer is 9" Output: "9 si rewsna eht" Your answer 2. Given string s1 = "Where? What? When?" Which of the following will NOT print the character 'W' ? (1 Mark) cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
