Question: Copy a string in reverse order. Do not copy the contents of the array to another array. Do not use push or pop. Your loop
Copy a string in reverse order. Do not copy the contents of the array to another array.
Do not use push or pop.
Your loop needs only to process half the array.
Here is a hint to divide a number by 2, use the instruction shr. For example if the number of characters in the array is in ecx, use this instruction to half itshr ecx.
Step by Step Solution
3.42 Rating (152 Votes )
There are 3 Steps involved in it
For doing the given problem It will be impl... View full answer
Get step-by-step solutions from verified subject matter experts
