|
Description
This shows how using
the strcpy( ) function we can copy
one string to another.
Code
#include <stdio.h>
#include <string.h>
int main()
{
char title[] = "Programmers help
: C section";
char url[70];
strcpy(url , title);
printf("Welcome to %s ",url);
return 0;
}
Information
tested using LCC Win
32
|