C Programming - Pointers - Discussion
Discussion Forum : Pointers - General Questions (Q.No. 5)
5.
If a variable is a pointer to a structure, then which of the following operator is used to access data members of the structure through the pointer variable?
Discussion:
60 comments Page 5 of 6.
Priya said:
9 years ago
I did not understand this question. Please help me to get this.
(3)
Chandru said:
1 decade ago
Can we make use of ". " operator instead of "->" operator?
Wikiok said:
1 decade ago
(*myPointer).element <=equals=> myPointer->element
Maahi said:
1 decade ago
So finally which operator should be used? can any one tell?
(2)
Indhu said:
1 decade ago
I didn't understand.
Can you explain it clearly.
Can you explain it clearly.
(1)
Vaishali said:
1 decade ago
Thanks Pavan Sharath for clearify Structure.
Swapnika said:
6 years ago
Dot (.) operator also used in pointers.
(3)
Sufiyan said:
1 decade ago
Very good logic. Can you elaborate it?
(1)
Apurva Nigam said:
1 decade ago
Thanks Kisan for properly explaining.
Hrudaya said:
1 decade ago
Thank u everyone for the explanation
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers