Strcat
#include <iostream.h>
#include<stdio.h>
#include<conio.h>
#include <string.h>
int main ()
{
clrscr();
char str[80];
strcpy(str,"Hello ");
strcat(str,"I ");
strcat(str,"Am ");
strcat(str,"Mahi ");
puts(str);
getch();
return 0;
}
Here Is The Output :)
No comments:
Post a Comment