Question: Write a C++ program to implement a function named StrFcn. This function receives two strings (str1 and str2). The function reverses the content of

Write a C++ program to implement a function named StrFcn. This function  

Write a C++ program to implement a function named StrFcn. This function receives two strings (str1 and str2). The function reverses the content of strl and save the result in str2. void StrFcn (char* str1, char* str2); Example: char Strl [1= "cpe 150 exam"; char Str2 [100] = "maxe 051 epc": In your main do the following: Create two strings: Strl and initialize it with your first name. Str2 Call the function StrFcn Print stra to the screen

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 Programming Questions!