Tag Archives: Dev

Functions in C++

Welcome to the 8th Tutorial on C++ Tutorials for beginners series. This is this is first tutorial on c++ functions, a very important aspect of any programming language. Functions are often called methods as well in some programming languages, but in this tutorial we will restrict ourselves to the word function.

In this tutorial we will jump into the very basics of functions. We will describe what basically a function is, what its uses are and then will give few examples of how a function can be used in C++.

In the end we will see how a function can be passed argument and will explain this argument passing with the help of passing an array and string to this function with the help of pointers. So stay with us, you are going to learn something really awesome which will make your code a lot easier and fascinating.

Continue reading Functions in C++