Last active
September 27, 2020 05:11
-
-
Save hnts/97351d32c0792f773e9b1fa66fe36a95 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://inaz2.hatenablog.com/entry/2014/07/04/001851 | |
#include <stdio.h> | |
int main() | |
{ | |
char buf[100]; | |
setlinebuf(stdout); | |
printf("buf = %p\n", buf); | |
gets(buf); | |
puts(buf); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment