I need to know how to extract a single Character fro the string. At the moment the code moves the pointer to the third character along. so it shows "LO WORLD".
I need to be able to grab a single cha from the string.
Any ideas people ?
Thanks (code below)
char *Stcpy(char *dst, char *src)
char *p = dst;
while ((*p++ = *src++) != '')
char *source= "HELLO WORLD";
printf("I have %s
It looks like you're new here. If you want to get involved, click one of these buttons!