Skip to content

Instantly share code, notes, and snippets.

@sl4v
Created April 17, 2017 17:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sl4v/1e335b08e8f9073459f1a906fadb154d to your computer and use it in GitHub Desktop.
Save sl4v/1e335b08e8f9073459f1a906fadb154d to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main(int argc, char *argv[]) {
char buf[256];
gets(buf);
printf("You entered: %s\n", buf);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment