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 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
Get step-by-step solutions from verified subject matter experts
