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