What is a pointer?

C Programming Language >   Pointer in C Language >   About Java Tutorial  

Long Question

938


Answer:

Pointers are variables which store the address of another variable. That variable may be a scalar (including another pointer), or an aggregate (array or structure). The pointed-to object may be part of a larger object, such as a field of a structure or an element in an array.

Syntax: data_type *var_name;
Where, * is used to denote that “p” is pointer variable and not a normal variable.

It is a variable that stores/points the address of another variable. Normal variable stores the value of the variable whereas pointer variable stores the address of the variable.


This Particular section is dedicated to Question & Answer only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.