fork download
  1. #include <stdio.h>
  2. int main()
  3. {
  4. char name[50];
  5. printf("Enter name:");
  6. scanf("%s", name);
  7. printf("Hello %s \n" , name );
  8. return 0;
  9.  
  10. }
Success #stdin #stdout 0.01s 5272KB
stdin
Standard input is empty
stdout
Enter name:Hello