Using strncat with char array element in C
- by user260223
Hi..
I have get error with the following code and i can't figure it out.
char name[]="tolgahan"
char result[100]="";
strncat(result,name[1],1);
I guess, i need to convert name[1] to string format but i don't now how can i do that.
Please help me.
Best regards.