adspace
Write a C++ program to print strings in reverse order.
Answer Posted / Omprakash Varanwal
Here is a simple C++ program that prints a string in reverse order: ```n
#include <iostream>n
#include <string>n
n
int main() {n
std::string str = "Hello, World!";n
for (int i = str.length(); i >= 0; --i) {n
std::cout << str[i];n
}n
return 0;n
}".
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
draw a flowchart that accepts two numbers and checks if the first is divisible by the second.
sir please send me bpcl previous question papers
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
Can union be self referenced?
What character terminates all character array strings a) b) . c) END
How c functions prevents rework and therefore saves the programers time as wel as length of the code ?
Please send ford technologies placement paper 2 my mail id
What is the latest version on c++?
daily Routine of father