shfrlc3257 shfrlc3257
  • 23-08-2017
  • Computers and Technology
contestada

Write a function called printbackwards() that will work with a c++ string

Respuesta :

tonb
tonb tonb
  • 23-08-2017
There is a standard reverser that will work for this:

void printbackwards(string s)
{
   reverse(s.begin(), s.end());
   cout << s;
}


Answer Link

Otras preguntas

Please help me i need help pleaseeeeee
-3(-7x - 6) - 7 < X - 29 Solve and check. ​
3√166375I want it's answer with step by step.​
A passenger in a vehicle should not assist with directions. praise the driver. distract the driver. discourage reckless driving.
Label the different parts of a heart:
in a Plains tribe family who was responsible for participating in the defense of the CommunityA. daughtersB. mothersC. fathersD. sons​
What does the suffix AL mean in the word fictional
PLEASE HURRY!!! Which of the choices below best describes the freedoms of serfs?
Read the passage below and answer the question that follows. Daniel was born in the United States and is a member of the American dominant culture; however, he
What number would X be in 5 + (x - 2) = -8