hi,
I need to build a function with a pointer .
void split(char *src, char c);
the function gets a string and a char and doing this:
can u give me ideas how to build it.?!Code:char *src=“Big-Brother”, c='-'; split(src,c); output: B-i-g---B-r-o-t-h-e-r
thank u !