fork download
  1. #include<stdio.h>
  2. int main( )
  3. {
  4. char message[30];
  5. printf("Enter a message: ");
  6. gets(message);
  7. printf("Your message is %s", message); return 0;
  8. }
  9.  
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
Enter a message:  Your message is  �x��