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

Relative dating is used to determine the a) actual date of an event b) length of time between events. c) age of one event in comparison with other events. d) ra
Which of the following correctly shows the length of each radius, the point where the circles intersect, and the equation of the tangent line at this point?
the number of hours worked by each of the employees last week at two stores
How do the electron configurations within a group compare
________is a haploid cell with half the reproductive information from the parent.
Helpppppppppp meeeeeeee
helpppp pleaseeee and thankyouuuu
Plz help asap (WILL MARK BRAINLIEST AND 11 POINTS) What is argumentation? Logical reasoning or the process of debating The art of speaking or writing effectiv
Prior to the time of Charles Darwin, it was widely believed that all organisms appeared on Earth at the same time and remained unchanged throughout history. Whi
Can someone tell me about the KKK? I know what they are and what they're doing but I need 2 know why people are joining the KKK