Showing posts with label WAP to concatenate two strings. Show all posts
Showing posts with label WAP to concatenate two strings. Show all posts

CONCATENATE TWO STRINGS

WAP to concatenate two strings

void main ()

{

char *str,*str1;

clrscr ();

printf("Enter your name: ");

gets (str);

str1="jeet";

strcat(str,str1);

printf("\n %s",str);

getch ();

}



Labels