0
Any help for pointers ,linked listes,stacks,......, all dynamics memory
2 Answers
0
A pointer represents the address of a object of the type it is declared.
If you a have an int pointer called "p" (int *p=nullptr), the variable "p" won't contain an integer, but the address of a chunk of memory (RAM) which could contain an integer. At the moment it contains nothing so it's better doing as I did, I mean assigning "nullptr". Pointer becuse it can point to part of the memory where can be stored an object, but cannot contain that object itself
0
thanks bro