0 like 0 dislike
asked in Computer Science by (474k points)
What is pointer?

1 Answer

0 like 0 dislike
answered by (474k points)

- A pointer is a variable that holds a memory address. This address is the location of another object (typically, a variable) in memory. That is, if one variable contains the address of another variable, the first variable is said to point to the second.

- A pointer declaration consists of a base type, an *, and the variable name. 

- The general form of declaring a pointer variable is

Welcome to Free Homework Help, where you can ask questions and receive answers from other members of the community. Anybody can ask a question. Anybody can answer. The best answers are voted up and rise to the top. Join them; it only takes a minute:

10.2k questions

9.2k answers


3.2k users


Free Hit Counters