Learn C
Coading is not typing it is imagination......
Monday, May 25, 2015
string(7)
#include <stdio.h>
#include <stdlib.h>
int main()
{
char ch[15],ch1[15];
int i,n;
scanf("%s%s",ch,ch1);
for(i=0;ch[i]!='\0';i++);
ch[i]=' ';
i++;
for(n=0;ch1[n]!='\0';n++)
ch[i+n]=ch1[n];
printf("%s",ch);
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment