mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-01 06:50:26 +02:00
chore: add resource under cpp:functions
This commit is contained in:
@@ -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