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

Of the three body regions of a grasshopper which one is specialized for movement
Which of the following best describes deflation as it relates to Earth science? A. Beach erosion caused by high tidesB. An avalanche caused by skiersC. High ti
one milliliter equals 10^3 liter. simplify 10^3
18/15 into a mixed number
how does war affect people????????
in natural selection, what must be true of traits that are passed down through generation?
Malika's rectangular garden is enclosed with 24 m of fencing.What is the least possible area of Malika's garden?What is the greatest possible area?
A club with 31 members is to select five officers (president, vice president, secretary, treasurer, and historian). In how many ways can this be done?
Find the value of z such that 0.9722 lies between -z and z.
what is the tragic hero in Romeo and Juliet