chore: add resource under cpp:functions
This commit is contained in:
1 parent
d05374ca68
commit
2c2d57ecab
1 file changed
+3
-1
@@ -71,4 +71,6 @@ int multiplyNumbers(int x, int y) {
|
||||
}
|
||||
```
|
||||
|
||||
In this example, we use a function prototype for `multiplyNumbers()` before defining it. This way, we can call the function from the `main()` function even though it hasn't been defined yet in the code.
|
||||
In this example, we use a function prototype for `multiplyNumbers()` before defining it. This way, we can call the function from the `main()` function even though it hasn't been defined yet in the code.
|
||||
|
||||
- [introduction to functions in c++](https://www.learncpp.com/cpp-tutorial/introduction-to-functions/)
|
||||
Reference in new issue
Block a user