input name from user and print him a greeting

PHOTO EMBED

Mon Oct 16 2023 13:50:47 GMT+0000 (Coordinated Universal Time)

Saved by @usman_hamed

//program to take an imput from user and print a greeting message
#include <stdio.h>
int main()
{
    char name[10];
    printf("enter your name");
    /* input from user */
    scanf("%s",&name);
    printf("how are u  %s",name);
}
content_copyCOPY