Strcat function in C | Strcat ( ) function | String function
Strcat function in C example
[ Calculate two string ]
Strcat function Output
Copy Text from below
#include<stdio.h>
#include<conio.h>
#include<string.h>
int main()
{
char str1[]="Welcome to ";
char str2[]="Programming Help Desk";
printf("First string is : %s",str1);
printf("\nSecond String is : %s",str2);
strcat(str1,str2); //Use strcat() function
printf("\nFinal string is : %s",str1);
}
Download pdf file
For more program
Watch Video for Cool facts in Hindi
Subscribe Our channel for more facts
0 Comments
Thanks for comments.......your comment is very valueable for us.Thanks for joining us.