#include<stdio.h> #include<string.h> int main(){ char inputstring[100],copystring[100]; printf("enter the string "); gets(inputstring); strcat(copystring,inputstring); printf("inputstring = %s",inputstring); printf("copystring = %s",copystring); }
strcat
inputstring
copystring
strncpy
gets
fgets
stdin
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)