Wednesday, 31 January 2018

C++ functions

In this article, you will learn about the functions in C++.why and how we use functions. What is a function in C++? A function is a block of code that performs some operation.If we want to use a piece of code again and again in the program we wrap that piece of code in the function and use that piece of code in the program by calling it. There are two types of functions in C++. Library function...