fix a bug in deconstructing a c program
ci/woodpecker/push/build Pipeline was successful
Details
ci/woodpecker/push/build Pipeline was successful
Details
This commit is contained in:
parent
c809de2f41
commit
cd9e96839c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue