Things to note about Functions in C plus plus (C++)
While passing arguments, the function creates copies of the arguments passed to it. This type of passing arguments is called passing by value. We can pass structure as arguments. We can also return a structure. Useful while returning multiple values. Passing by reference : e.g. void intfunc(float& a, int& b); We can also pass structures