summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--c.html.markdown3
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