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
Discussion:
33 comments Page 4 of 4.
Dilip said:
1 decade ago
It is a very good platform to learn more programming.
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.
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.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers