/*WAP to Use of strcat() function */
#include<stdio.h>
#include<conio.h>
main( )
{
char source[ ] = "Folks!" ;
char target[30] = "Hello" ;
strcat ( target, source ) ;
printf ( "\nsource string = %s", source ) ;
printf ( "\ntarget string = %s", target ) ;
}
No comments:
Post a Comment