From 77e053ba2e698e6278906479cab8521fa82b5734 Mon Sep 17 00:00:00 2001 From: Jan Date: Sun, 7 Apr 2024 20:42:19 +0200 Subject: [PATCH] Language. --- modules/arrays-as-function-arguments.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/arrays-as-function-arguments.md b/modules/arrays-as-function-arguments.md index dcef856a..6185f1bc 100644 --- a/modules/arrays-as-function-arguments.md +++ b/modules/arrays-as-function-arguments.md @@ -7,7 +7,7 @@ array element**. So, you can just declare the argument as an pointer to an element type and pass in an array name. The reason for this is that as C can only pass arguments by value, copying array -data to function arguments would be very inefficient. +data to function arguments would be quite inefficient. Even if you declare a function argument as an array, **the argument is always treated as a pointer**. The optional array size is accepted but ignored. Do