Pointers are variables that store the addresses of other variables. In C++, a class is an object-oriented programming tool that allows programmers to create user-defined complicated datatypes (member variables) and functions that operate on that data.
Vishalini.R Edited answer June 28, 2023