Question: by basic c++ Write a C++ program to implement a function named StrFcn. This function receives three strings (stri and str2 which contain strings, while

 by basic c++ Write a C++ program to implement a function

by basic c++

Write a C++ program to implement a function named StrFcn. This function receives three strings (stri and str2 which contain strings, while str3 is an empty string with suitable size). The function combines strl and str2 into str3 letter by letter in order. Suppose strl and str2 has the same length. void Strfcn (char* stri, char* str2, char* str3); Example: char Seri = rabc" ahar Str2U "xyz" ; char str3 [30] After calling the function Str3 will contain "axbycz" In your main do the following: Create three strings: o Strl and initialize it with "abc". o Str2 and initialize it with "xyz". O Str3 Call the function StrFcn

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!