I need a function that deletes a character in a string at an index without brackets[], instead i have to use pointers. I am not allowed to use memmove or another function. This is what I have so far:

```c
void stringDeleteChar(char *s, int index){
    int i = 0;
    char *hold = NULL;

    if (index > strlen(s) || index < 0){
        s = '\0';
    }
    else{
        s += index;
        hold = s+1;
        while (i < strlen(s)){
            *s = *hold;
            s++;
            hold++;
            i++;
        }
    }
}

```