Question: c programming - Exercise 1 - Passing variables By Reference (2 marks) Exercise Objectives Declaring pointer variables Assigning pointer variables with references Accessing values using

c programming
c programming - Exercise 1 - Passing variables By Reference (2 marks)

- Exercise 1 - Passing variables By Reference (2 marks) Exercise Objectives Declaring pointer variables Assigning pointer variables with references Accessing values using pointers Passing variables by reference . Problem Description Write a program in C that: Prompt the user to create two character arrays with size 50. Create two pointers that point to those two arrays. Prompt the user to input a string. Your program must print a string in reverse using a pointer. . . Sample output Pointer : Print a string in reverse order : Input a string : Learn Reverse of the string is : nrael

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!