what do you understand by pointers and explain their operators
Answers
Answered by
0
Explanation:
A pointer is a variable that stores a memory address. Pointers are used to store the addresses of other variables or memory items. Pointers are very useful for another type of parameter passing, usually referred to as Pass By Address. Pointers are essential for dynamic memory allocation.
C++ provides two pointer operators, which are Address of Operator (&) and Indirection Operator (*). A pointer is a variable that contains the address of another variable or you can say that a variable that contains the address of another variable is said to "point to" the other variable
Answered by
0
Answer:
- The pointer in c, is a variable that stores address of another variable .
- A can be also used to be refer to another pointer function .
- A pointer can be incremented/decremented, i.e., to point to the next/previous memory location.
- purpose of pointer is to save memory space to achieve faster execution time.
Similar questions