Q. 1: Implement the following function:
surround(char * str, char c)
The first argument is a pointer to a string, whereas the second argument is a
character. When the function returns, the string pointed to by str should be
surrounded by the character in variable c. For instance, if str points to “this”,
and c is ‘X’, then after the function returns, str should point to “XthisX”.