top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

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

+1 vote
412 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?

...