C+

How To Use Pointers In C Plus Plus (CPP) (C++)

Introduction: This tutorial is on how to use Pointers in C++. Theory: So why exactly do we need to use pointers? And what are they? If you write a simple program with two functions and a variable where one of the functions parses the variable to the second function in order for the variables value to change, it will only change in the local scope of the second function. Here is an example;