want to write a program usint the pointer operations and recursion
plz help me because i try to solve it but i faild to have the corect answer
this is my question and i hope that u can help me before monday
----------------------------------------------------------------------------------
Write a recursive function named Comma_Separated that takes as parameters a pointer to char listptr which represents string1 and a pointer to char textptr which represents string2.The function should copy string1 into string2 but all the characters in string 2 should be separated by comma. The prototype of the function is:
void Comma_Separated (char *listptr, char *textptr);
NOTE: Use pointer operations and recursion only
for example :
The value before calling the function are:
String1="ITCS102", String2=" "
The value after calling the function will be:
String1="ITCS102", String2="I,T,C,S,1,0,2,"
i need ur help plz