/*************************************************************************************/
/*  C Program Write a Program with Enter Through Strcpy                                                            */
/*  Find more C programs at http://ecomputernotes.com/                                                             */
/*************************************************************************************/

 
#include <string.h>

#include <stdio.h>

char name[30];    /* First name of someone */

int main()

{

    strcpy(name, "Sam");    /* Initialize the name */

    printf("The name is %s\n", name);

    return (0);

}



Dinesh ThakurDinesh Thakur is a Columinist and designer with strong passion and founder of Computer Notes. if you have any ideas or any request please get @me on Google+
linkedin FaceBook Twitter Google Plus