Question: Write a function that takes C-type string, then if the function will concatenate the mirror of input sting. Consider following example: char str[100]=GOOD MORNING TURKEY;
Write a function that takes C-type string, then if the function will concatenate the mirror of input sting. Consider following example: char str[100]="GOOD MORNING TURKEY; mirror(str); //would update str as follows. "GOOD MORNING TURKEY TURKEY MORNING GOOD"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
