Write a program to reverse a string entered by the user. Programmust: Do not use library
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a program to reverse a string entered by the user. Programmust:
• Do not use library function “strrev” OR “Recursion”.
• Do not use strlen.
• Must define two functions; one for reversing the string andsecond for finding string length. Pointers for the string enteredare passed to these functions as an argument.
o int string_length (char * myString)
o void reverse (char * myString)
• The reverse function must print the actual string and thereversed string.
Related Book For
Data Structures and Algorithm Analysis in Java
ISBN: 978-0132576277
3rd edition
Authors: Mark A. Weiss
Posted Date: