C Programming - Pointers - Discussion

Discussion Forum : Pointers - General Questions (Q.No. 8)
8.
The operator used to get value at address stored in a pointer variable is
*
&
&&
||
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
33 comments Page 4 of 4.

Govardhana kj said:   1 decade ago
For example;
consider int x=10;
int *y;
y=&x;
printf("value at Y is %d\n",y);

output is 10

bescause 10 is stored at address say 100(which named as 'x') and again we are declaring 'y' as pointer variable which holds address of another variable(here y holds adress of 'x')which is dereferenced using "&" opearator.

Amruta said:   1 decade ago
It is also called as 'Indirection operator' and it is used to get the value stored at pointer add.

Dinesh said:   2 decades ago
A.Because you can get value stored at any address only through *.& is used to retrieve the address value.!


Post your comments here:

Your comments will be displayed after verification.