Pointers in C++

I’m writing this down just for the sake of boring (and learning too).

Pointer

To declare a pointer, we can do as follow:

T *myPointer = new T;

where T is any defined type.

Written on April 30, 2023