From 80e643677e625bc8c95d488afae1f3214965a4ff Mon Sep 17 00:00:00 2001 From: sobolevn Date: Sun, 3 Nov 2024 10:25:29 +0300 Subject: [PATCH] Fix grammar in basic-types-and-values.md Link: https://c3-lang.org/language-fundamentals/basic-types-and-values/#pointer-types --- .../docs/Language Fundamentals/basic-types-and-values.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/Language Fundamentals/basic-types-and-values.md b/src/content/docs/Language Fundamentals/basic-types-and-values.md index 1055b9ff..bebdf533 100644 --- a/src/content/docs/Language Fundamentals/basic-types-and-values.md +++ b/src/content/docs/Language Fundamentals/basic-types-and-values.md @@ -239,7 +239,7 @@ char[*] hello_world_hex = x"4865 6c6c 6f20 776f 726c 6421"; ## Pointer types Pointers have the syntax `Type*`. A pointer is a memory address where one or possibly more -elements of the underlying address is stored. Pointers can be stacked: `Foo*` is a pointer to a `Foo` +elements of the underlying address are stored. Pointers can be stacked: `Foo*` is a pointer to a `Foo` while `Foo**` is a pointer to a pointer to `Foo`. The pointer type has a special literal called `null`, which is an invalid, empty pointer.