Question: please solve this in c language Problem 6. Given a string and an int n, return a string made of the first and last n

please solve this in c language
Problem 6. Given a string and an int n, return a string made of the first and last n chars from the string The string length will be at least n. nTwice("Hello",2)"Helo" nTwice("Hello", 4)"Hellello" nTwice("Yellow", 1)Yw
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
