Offer

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 



Post a Comment

0 Comments