From cd9e96839c3d09180ea7d107b2d8c80f69568631 Mon Sep 17 00:00:00 2001 From: Mike Nolan Date: Wed, 16 Oct 2024 22:51:41 -0500 Subject: [PATCH] fix a bug in deconstructing a c program --- content/posts/deconstructing-a-c-program.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/posts/deconstructing-a-c-program.md b/content/posts/deconstructing-a-c-program.md index 33ae15a..5233e31 100644 --- a/content/posts/deconstructing-a-c-program.md +++ b/content/posts/deconstructing-a-c-program.md @@ -58,7 +58,7 @@ Then we return the value **0** from the **main** function to say the program suc | FUNCTION_NAME | What you name the function | ## How are functions called -``` +```c int a = myfunction(FIRST_EXPRESSION, SECOND_EXPRESSION, THIRD_EXPRESSION); ``` In this example the function **myfunction** returns an **int** and has three arguments that are **FIRST_EXPRESSION**, **SECOND_EXPRESSION** and **THIRD_EXPRESSION** they are also comma seperated and can be any expression as long as the argument type is the same as expression (there is leeway however, such as if your expression is an 32 bit integer and the argument type expects a 64 bit integer, it will be converted for you)