1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
svetlana [45]
3 years ago
5

Write a recursive function stringReverse that takes a string and a starting subscript as arguments, prints the string backward a

nd returns nothing. The function should stop processing and return when the end of the string is encountered. Note that like an array, the square brackets ( [ ] ) operator can be used to iterate through the characters in a string.
Computers and Technology
1 answer:
Katarina [22]3 years ago
3 0

Answer:

void stringReverse(string s, int start){

   if(s[start]=='\0'){

       return;

   }

   else{

       stringReverse(s.substr(1,s.length()-1),start+1);

       cout<<s[start];

   }

}

Explanation:

You might be interested in
State reasons why new version of application packages are released often?​
Jlenok [28]

- To add new features

- To fix bugs

- To combat security vulnerabilities

- To keep customers engaged by showing the application is still maintained

7 0
3 years ago
Read 2 more answers
A(n) _______ is text or a graphic you can click to jump to another file or to somewhere else in the same file. quizle
Paul [167]
Hyperlink



______________________________
5 0
3 years ago
The _____ method randomly rearranges the items in the list provided in the parentheses.
yulyashka [42]
Shuffle is the answer
8 0
3 years ago
Read 2 more answers
Hi Guys,
Bingel [31]

Answer:

Please check the attachment.

Explanation:

Please check the attachment.

Download docx
8 0
4 years ago
What is the processing speed for the second generation of computers​
natima [27]

Answer:

10mbps

Explanation:

that's what the internet says

5 0
3 years ago
Other questions:
  • What bug was supposed to start affecting computers on january 1 2000
    9·1 answer
  • Fractures in Earth’s crust where displacement has occurred are called
    13·1 answer
  • How many different messages can be transmitted in n microseconds using three different signals if one signal requires 1 microsec
    12·1 answer
  • Fill in the function shopSmart(orders,shops) in shopSmart.py, which takes an orderList (like the kind passed in to FruitShop.get
    6·1 answer
  • Give fields descriptive so that you can easily identify them when you view or edit records.
    13·1 answer
  • A Variable can only hold numbers<br><br> True<br><br> False
    15·2 answers
  • Give two examples of html structure
    15·1 answer
  • If you need to change the typeface of a document, which menu will you choose?
    6·1 answer
  • Which type of service offers a preconfigured testing environment for application developers to create new software applications
    13·1 answer
  • *the sticker, available in the middle section of the prescription label, will indicate if the customer requested non-safety caps
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!