diff options
author | Levi Bostian <levi.bostian@gmail.com> | 2013-08-31 18:42:05 -0500 |
---|---|---|
committer | Levi Bostian <levi.bostian@gmail.com> | 2013-08-31 18:42:05 -0500 |
commit | 394ca958b3b61853b1fe8ec1063b3adb03239178 (patch) | |
tree | d1b1bab47d93a875c23a6c9d0ef3a6746542879b /c.html.markdown | |
parent | 41f65bb3415e7002ef171c351376c1c4d5336746 (diff) |
Add more notes to null character in C
Diffstat (limited to 'c.html.markdown')
-rw-r--r-- | c.html.markdown | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/c.html.markdown b/c.html.markdown index e6e2559e..90d0d358 100644 --- a/c.html.markdown +++ b/c.html.markdown @@ -27,7 +27,8 @@ Multi-line comments look like this. They work in C89 as well. '\f' // new page '\r' // carriage return '\b' // backspace character -'\0' // null character +'\0' // null character. Usually put at end of strings in C lang. + // hello\n\0. \0 used by convention to mark end of string. //print formatting: "%d" // integer |