Knowledge in Functions and pointers

Functions and pointers

A function is a block of code that performs a specific task. In this tutorial, you will be introduced to functions (both user-defined and standard library functions) Pointers are variables that store the value of a location in memory. In essence they "point" to the location of any variable, in which case they are said to point to the variable in question. ... Giving a pointer as an argument to a function is called "passing by reference," whereas variables are normally passed by value.