summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJoseph Adams <whitegolem@gmail.com>2014-01-10 18:28:34 +0100
committerJoseph Adams <whitegolem@gmail.com>2014-01-10 18:28:34 +0100
commitc9a32b08e72a4c219a549497e24675e700870f26 (patch)
treea495d0c74008cf8a5025880d294ff5f29496311f
parentc8b12bd824659879038d5d752b13d5c91fad8303 (diff)
Added missing comma in printf
-rw-r--r--c.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/c.html.markdown b/c.html.markdown
index 99ff0d27..e55ff148 100644
--- a/c.html.markdown
+++ b/c.html.markdown
@@ -376,7 +376,7 @@ int main() {
// or when it's the argument of the `sizeof` or `alignof` operator:
int arr[10];
int *ptr = arr; // equivalent with int *ptr = &arr[0];
- printf("%zu %zu\n", sizeof arr, sizeof ptr); // probably prints "40, 4" or "40, 8"
+ printf("%zu, %zu\n", sizeof arr, sizeof ptr); // probably prints "40, 4" or "40, 8"
// Pointers are incremented and decremented based on their type