Concept of strcat ( ).
#include <stdio.h>
#include <conio.h>
#include <string.h>
void main ( )
{
char source[6] = "Folks";
char target[12] = "Hello" ;
clrscr ( );
strcat ( target, source ); /* Used for concatenate two strings */
printf("\n\n\n\t\t Source String.....: %s", source);
printf("\n\n\n\t\t Target String.....: %s", target);
getch ( );
}
Click here to contact us
#include <stdio.h>
#include <conio.h>
#include <string.h>
void main ( )
{
char source[6] = "Folks";
char target[12] = "Hello" ;
clrscr ( );
strcat ( target, source ); /* Used for concatenate two strings */
printf("\n\n\n\t\t Source String.....: %s", source);
printf("\n\n\n\t\t Target String.....: %s", target);
getch ( );
}
Click here to contact us
No comments:
Post a Comment