Math, asked by uthiravasagan6649, 1 year ago

What kind of information is represented by a pointer variable?

Answers

Answered by zelenazhaovaqueen
0

Answer:

A pointer variable stores address of another variable.

Example:

int *t;

int a;

t=&a;

Here t is a pointer to an integer variable and it stores address of integer variable ‘a’;

--------------------------------------------------------------------------------------------------------

i hope it will helps you friend

Answered by vinod04jangid
0

Answer:

Address of another variable.

Step-by-step explanation:

A pointer is a type of variable that stores a memory address. They are used to store the addresses of other variables or memory items. They are essential for dynamic memory allocation. They are useful for passing parameter by using Pass By Address method.

They use * operator for declaration. Their format of declaration is:

              typeName * variableName;

For Example:- int * p;      // declaration of a pointer called p and p is a

                                             //pointer to an integer    

We can store the address like as follows:

int a;

p = &a;  // p stores the address for the integer variable a.        

We can access the value of a using p by using * i.e. value at address.

So, * (p) will be equal to a .

#SPJ2        

Similar questions