Question: Write a program in C to find reverse of a string using pointers. Your output should be as follows: Enter any String: Thompson Rivers University

  1. Write a program in C to find reverse of a string using pointers. Your output should be as follows:

Enter any String: Thompson Rivers University

Original String = Thompson Rivers University

Reverse String = ytisrevinU sreviR nospmohT

  1. The functions MUST come after the main( ) function
  2. Function prototypes must be used in your solution.
  3. Think carefully about what the parameter must be for the function
  4. Marks will be assigned based on the functions used in the code, and if the parameter are passed correctly. The assignment is regarding pointers (Call by Reference).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!