From c9a32b08e72a4c219a549497e24675e700870f26 Mon Sep 17 00:00:00 2001 From: Joseph Adams Date: Fri, 10 Jan 2014 18:28:34 +0100 Subject: [PATCH] Added missing comma in printf --- c.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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