String Program8

#include<stdio.h>

#include<conio.h>


void main()

{

int len;

char st[97], st2[97];

clrscr();


printf("Enter string: ");

scanf("%s", st);


printf("Enter string2: ");

scanf("%s", st2);


printf("\n\nYour String1 is %s", strcat(st, st2));


getch();

}

No comments:

Post a Comment