Pointers can be treated like arrays. *x=x[n] will point to '\0'.