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)