13.07.2015 Views

C struct, typedef, enum & union - Tenouk C & C++

C struct, typedef, enum & union - Tenouk C & C++

C struct, typedef, enum & union - Tenouk C & C++

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

STRUCT, TYPEDEF, ENUM & UNION• An expression involving arrow member-selectionoperator (->) is a shorthand version of anexpression using the dot (.) if the expressionbefore the dot consists of the indirection operator(*) applied to a pointer value.• Therefore,expression->identifier• is equivalent to,(*expression).identifier• provided that expression is a pointer valuewhich is normally the case.www.tenouk.com, © 24/93

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!