Question: Write a function that will operate on a string and escape all instances of ' ', and '' with a ''. For example: Passing in
Write a function that will operate on a string and escape all instances of '<', '>', and '\' with a '\'.
For example: Passing in "
Your function should handle strings of arbitrary length. If you have any questions about the problem, make reasonable assumptions and state your assumptions in your reply.
You may use any of the following programming languages to complete this task:
- C
- C++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
