EmbLogic's Blog

Program to combine two words without string char or compair

#include<stdio.h>

int main()

{

char j,i,a[15]=”hello”,b[15]=”world”,**p;

while(a[i]!=”)

{

i++;

}

for(j=0;b[j]!=”;j++)

{

a[i+j]=b[j];

}

printf(“%s”a)

 

}

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>