213k views
1 vote
Describe the Pointer with example?​

User Perigee
by
4.9k points

2 Answers

2 votes

Answer: A pointer is a variable that stores the address of another variable. Unlike other variables that hold values of a certain type, the pointer holds the address of a variable. For example, an integer variable holds (or you can say stores) an integer value, however, an integer pointer holds the address of an integer variable.

Step-by-step explanation:

User Sujee Maniyam
by
4.8k points
2 votes

Answer:

A pointer is a variable that stores the address of another variable. Unlike other variables that hold values of a certain type, pointer holds the address of a variable. For example, an integer variable holds (or you can say stores) an integer value, however an integer pointer holds the address of a integer variable.

User Ali Lotfi
by
4.2k points