diff options
author | Nami-Doc <vendethiel@hotmail.fr> | 2014-01-10 09:55:30 -0800 |
---|---|---|
committer | Nami-Doc <vendethiel@hotmail.fr> | 2014-01-10 09:55:30 -0800 |
commit | f23110ecf312acd0c1e5869abd2ad7d8f165b684 (patch) | |
tree | a495d0c74008cf8a5025880d294ff5f29496311f /c.html.markdown | |
parent | 0078f973b89f44bd381ba50d2837a17a902ebf7e (diff) | |
parent | c9a32b08e72a4c219a549497e24675e700870f26 (diff) |
Merge pull request #487 from jcla1/patch-1
Added verb/comma where missing
Diffstat (limited to 'c.html.markdown')
-rw-r--r-- | c.html.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c.html.markdown b/c.html.markdown index 84856b32..e55ff148 100644 --- a/c.html.markdown +++ b/c.html.markdown @@ -92,7 +92,7 @@ int main() { printf("%zu\n", sizeof(int)); // => 4 (on most machines with 4-byte words) - // If the argument of the `sizeof` operator an expression, then its argument + // If the argument of the `sizeof` operator is an expression, then its argument // is not evaluated (except VLAs (see below)). // The value it yields in this case is a compile-time constant. int a = 1; @@ -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 |