top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

Which operator is used to access data members of the structure through the pointer variable?

+1 vote
67 views
Which operator is used to access data members of the structure through the pointer variable?
posted Mar 4, 2016 by Divya Nayak

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

arrow (->) is used to access the data using pointer variable

answer Mar 8, 2016 by Vishi Gulati
Similar Questions
+4 votes

What is the point of declaring Pointer of different types (eg. integer,float,char) as we all know pointer takes 4 bytes of space regardless which type of pointer it is and only contains address?

+2 votes
void main(){
   int i=320;
   char *ptr=(char *)&i;
   printf("%d",*ptr); 
}

Please provide your explanation also?

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...