Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

putting character in the begginig and end of sring C

char name[] = "Peter";
char aux[10];
aux[0] = '';
strcat(aux, "<");
strcat(aux, name);
strcat(aux, ">");
//OUTPUT: <Peter>
 
PREVIOUS NEXT
Tagged: #putting #character #begginig #sring #C
ADD COMMENT
Topic
Name
1+9 =