Posts by Roniclay Rodrigues • 13 points
1 post
-
1
votes1
answer54
viewsQ: Understanding of string delimiter
char *strdelc(char *s, char ch) { int i,j; for(i=j=0; s[i]!='\0';i++) if(s[i]!=ch) s[j++]=s[i]; s[j]='\0'; return s; } This function aims to delete the character sent by the user, but I can’t…