Functions in C++
What are functions? A function is a collection of statements that accept input, perform some specific computation, and return output. The idea is to combine some frequently or repeatedly performed tasks into a function so that instead of writing the same code for different inputs, we can call the function. Advantages of functions: Code Reusability […]
October 2, 2022 | C++ | No comments