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

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

Relax

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

what is the mean absolute deviation of 26 43 48 29 16 30
Only 3 students in each event win medals at the track meet. If 9 students are running the mile, what fraction of them will win a medal?
In the 15th century, Prince Henry the Navigator sponsored many voyages. What part of the world did people sailing for Henry the Navigator explore? A. Southeast
Do news entities provide only the facts? Why or why not?
what factors discouraged the use of nuclear weapons during the cold war
In the 15th century, Prince Henry the Navigator sponsored many voyages. What part of the world did people sailing for Henry the Navigator explore? A. Southeast
Angle 4 is twice the size of angle 6, find angle 4. m∠4=
In California, babies can be surrendered to safe surrender sites without legal consequences if they are less than: a year old, 6 months old, 30 days old, a week
Elimination method 4x-2y=48 2x+6y=-18
The creator of the containment policy was George F. __________.