Jak połączyć 2 char* ??
char *a="te";
char *b="st";
char *c=a+b; ("test")
0
0
#include <string.h>
#include <stdio.h>
main(){
char* s=(char*)malloc(5); // char s[5];
strcat(strcpy(s,"te"),"st");
printf("%s\\n",s);
free(s);
return 0;
}
// + f1 :d