void str_cat(char *a,char *b) { int i=0,j=0; while(a[i++] != '\0'); while(b[j] != '\0') a[i++] = b[j++]; b[j] = '\0'; }