hello
exp:
char str[255];
char temp[255]="some string";
strcpy(str,"test");
please tell me how to point to the 'e' char in str variable to put it in strcat function:
strcat(temp,pointer to 'e' char)
thanks
Printable View
hello
exp:
char str[255];
char temp[255]="some string";
strcpy(str,"test");
please tell me how to point to the 'e' char in str variable to put it in strcat function:
strcat(temp,pointer to 'e' char)
thanks
strcat(temp, &str[1] );
Also can do this I think:
Code:strcat(temp,str+1);