Question: Complete the following tasks (a) Write a function In C named 'interleave that will take two strings of equal length as input and print another

 Complete the following tasks (a) Write a function In C named

Complete the following tasks (a) Write a function In C named 'interleave that will take two strings of equal length as input and print another string as output. In the output string, the characters of the 2nd input string will be placed in between every character of the 1st input string. Hence, the first element of output string will be the first element of input string 1, the second element will be the first element of input string 2, the third element will be the second element of input string 1 and so on. For example, Input string 1 = "ABC Input string 2 = LMN Output string = "ALBMCN

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!