//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); }
//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); }