fork download
  1. #include <stdio.h>
  2. int main()
  3. { char string[100];
  4. int c;
  5. printf ("Digite o seu nome: ");
  6. gets (string);
  7. printf ("\n\n Ola %s",string);
  8. return 0;
  9. c=getchar();
  10. }
  11.  
Success #stdin #stdout 0s 2172KB
stdin
Standard input is empty
stdout
Digite o seu nome: 

 Ola