Created
May 28, 2021 13:59
-
-
Save Bloofer/fa44317198340ea8a9c2d88647f6258e to your computer and use it in GitHub Desktop.
snprintf
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
| #include <stdio.h> | |
| void main(int argc, char **argv) | |
| { | |
| char buf[100]; | |
| snprintf(buf, sizeof buf, argv[1]); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment