Re: What's the difference between (*(x)).a and (x)->a

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This shouldn't have been posted to gcc@xxxxxxxxxxx, which is for gcc
development only.  Redirecting.

holderlin wrote:

> Is there any difference between (*(x)).a and (x)->a, if x is an
> expression which generates a struct pointer.

No.  The standard says that in all cases they are the same.

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux