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 3 of 4.
Nilax said:
1 decade ago
* = Used to refer to the Address of any variable.
&* = Used to Pointed variable's Value.
&* = Used to Pointed variable's Value.
Ramachandran said:
1 decade ago
@Aabir :
int x=20;
int *y=&x;
y=address of x
*y=data of x;
&y == y(same)
int x=20;
int *y=&x;
y=address of x
*y=data of x;
&y == y(same)
Harika said:
1 decade ago
Hi, & defines address in memory, * represents the value of pointer.
(1)
Mohammed aabir said:
1 decade ago
What if give int *y;
y=&x;
printf("%d",&y);
y=&x;
printf("%d",&y);
Dilip said:
1 decade ago
It is a very good platform to learn more programming.
VASANTHARAJ said:
7 years ago
* is a correct answer. I agree with the given option.
(4)
Veer pratap singh said:
1 decade ago
Basically pointer variable is called & operator.
(1)
Deepak said:
1 decade ago
No apurva is right. Output is 10 if we declare *y.
Antony said:
8 years ago
&&, || operator which operation performed?
(4)
Ankit Jain said:
1 decade ago
Simply * is called value at the address operator.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers