fix a bug in deconstructing a c program
ci/woodpecker/push/build Pipeline was successful Details

This commit is contained in:
Mike Nolan 2024-10-16 22:51:41 -05:00
parent c809de2f41
commit cd9e96839c
1 changed files with 1 additions and 1 deletions

View File

@ -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 | | FUNCTION_NAME | What you name the function |
## How are functions called ## How are functions called
``` ```c
int a = myfunction(FIRST_EXPRESSION, SECOND_EXPRESSION, THIRD_EXPRESSION); 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) 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)