Tuesday, January 3, 2012

How do I access pointer members of structures?

How do I access pointer members of structures?

Single pointer variables can be accessed using a dot operator and the structure variable name,
such as:

pp.ee

Pointer arrays that are structure members are accessed using a dot operator and an array subscript; for instance:

pp.ff[0]

No comments:

Post a Comment