chore: add resource under cpp:functions

pull/4076/head
roadmap bot 1 year ago
parent d05374ca68
commit 2c2d57ecab
  1. 4
      src/data/roadmaps/cpp/content/103-functions/index.md

@ -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/)
Loading…
Cancel
Save