C++ Pointers and Reference Example With a simple inheritance example presented on the following diagram: We make use of pointers and references on the main fucntion to display the student information. Compile and give it a try... Stay awesome!!!