Question: C language/Programming Write a function that takes as input a string and returns a new string consisting of repeating characters in str. For example, if
C language/Programming
Write a function that takes as input a string and returns a new string consisting of repeating characters in str. For example, if "hello', returned string should be "hheelllloo" char * repeat (char *str)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
