summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNami-Doc <vendethiel@hotmail.fr>2014-01-10 09:55:30 -0800
committerNami-Doc <vendethiel@hotmail.fr>2014-01-10 09:55:30 -0800
commitf23110ecf312acd0c1e5869abd2ad7d8f165b684 (patch)
treea495d0c74008cf8a5025880d294ff5f29496311f
parent0078f973b89f44bd381ba50d2837a17a902ebf7e (diff)
parentc9a32b08e72a4c219a549497e24675e700870f26 (diff)
Merge pull request #487 from jcla1/patch-1
Added verb/comma where missing
-rw-r--r--c.html.markdown4
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