Question: c programming - Exercise 1 - Passing variables By Reference (2 marks) Exercise Objectives Declaring pointer variables Assigning pointer variables with references Accessing values using
- 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
Get step-by-step solutions from verified subject matter experts
