0

Any help for pointers ,linked listes,stacks,......, all dynamics memory

18th Jul 2017, 2:00 PM
Ferrahna Youssef
Ferrahna Youssef - avatar
2 ответов
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
18th Jul 2017, 2:36 PM
2_3rr0r5
2_3rr0r5 - avatar
0
thanks bro
18th Jul 2017, 6:54 PM
Ferrahna Youssef
Ferrahna Youssef - avatar