putting character in the begginig and end of sring C code example
Example: putting character in the begginig and end of sring C
char name[] = "Peter";
char aux[10];
aux[0] = '\0';
strcat(aux, "<");
strcat(aux, name);
strcat(aux, ">");
//OUTPUT:
char name[] = "Peter";
char aux[10];
aux[0] = '\0';
strcat(aux, "<");
strcat(aux, name);
strcat(aux, ">");
//OUTPUT: