-
-
Save jeffs/09f344cf0ccac823e1f677cc995a6b66 to your computer and use it in GitHub Desktop.
This file contains 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
$ cc main.c | |
main.c:4:13: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] | |
puts("42" + 1); | |
~~~~~^~~ | |
$ ./a.out | |
2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment