Dynamic Pointer is a pointer which points to diffrent places,not at once but at diffrent intervals it might be pointing to some place at once then after certain code executes it might change its position to somewhere else .
Example
int x,y;
int *p=&x;/* pointer p points to the address of x*/
p=&y;/*pointer P now points to the addres of y*/
Pointer is a variable, A variable that stores the address of another variable. Size of a pointer is 2 bytes.
... are usable. void pointer (generic pointer) : a special type of pointer which point to some data of no specific types. void *p; null pointer : a special type of pointer which point nowhere. it is usually used to check if a pointer is pointing to a null or free the pointer during deallocation of memory in dynamic memory allocation; it is define by using the predefine constant NULL int *p=NULL; wild pointer : uninitialized pointer. it hold a garbage value. i.e it is not pointing to any memory location yet. dangling pointer: pointer pointing to a destroyed variable. it usually happen during dynamic memory allocation when the object is destroyed but not free and the pointer is still pointing to the destroy object.
Double (**) is used to denote the double pointer. As we know the pointer stores the address of variable, Double pointer stores the address of any pointer variable. Declaration : int **ptr2Ptr;
Pointer Stars are stars that are used to pinpoint other areas in the sky, such as constellations.
A pointer in itself is not an object, because it is not an instance of a class. Of course you can define a class which has only one member, which is a pointer. class Pointer { public void *ptr; }; Pointer p, q, r;
to control the pointer
Pointers come in different breeds. For example: German Short Haired Pointer and English Pointer.
For example: [] * -> + - ++ -- = += -= & == < <= > >= !
A String is treated as an object, meaning there is an object on the heap. Of course, the variable you define is a pointer to the object, and it is stored on the stack.A String is treated as an object, meaning there is an object on the heap. Of course, the variable you define is a pointer to the object, and it is stored on the stack.A String is treated as an object, meaning there is an object on the heap. Of course, the variable you define is a pointer to the object, and it is stored on the stack.A String is treated as an object, meaning there is an object on the heap. Of course, the variable you define is a pointer to the object, and it is stored on the stack.
Example: int x; -- integer int *px= &x; -- pointer to integer int **ppx= &px; -- pointer to pointer to integer int ***pppx= &ppx; -- pointer to pointer to pointer to integer
That Culture Always Changes
Usable. A prominent example is param argv of function main.