Question: Write a program to reverse a character string with an odd number of characters pointed at by rO. Assume the string you are copying is
Write a program to reverse a character string with an odd number of characters pointed at by rO. Assume the string you are copying is non-null (it contains at least one character) and that it is terminated by OxOD (the number of characters included the terminator). You must not use an additional memory buffer (i.e., you can use only registers and the string storage itself).
Step by Step Solution
3.41 Rating (154 Votes )
There are 3 Steps involved in it
This example demonstrates pointers well The key lines are in bold We are stepping out from the begin... View full answer
Get step-by-step solutions from verified subject matter experts
