Hi,
anyone knows how to sum two string variables, I've tried with strcat but this function accept as the second parameter only a constant string. I want to do something like this:
char var1[10], var2[10], var3[20];
var1 = strcpy(var1,"hewhwho");
var2 = strcpy(var2,"fhhgoehg");
var3 = strcat(var1,var2);
Thanks for your help.
anyone knows how to sum two string variables, I've tried with strcat but this function accept as the second parameter only a constant string. I want to do something like this:
char var1[10], var2[10], var3[20];
var1 = strcpy(var1,"hewhwho");
var2 = strcpy(var2,"fhhgoehg");
var3 = strcat(var1,var2);
Thanks for your help.