home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_07 / 391.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-20  |  817KB  |  2550x3300
Labels: book | crt screen | poster | reckoner | shelf
OCR: Using Structures with Arrays and Pointers 391 ent notations, one using the dereference operator. in conjunction with the struc selection operator for structures, and one using new operator, The notation using the dereference operator, and the selection for referencing the pr ce member of 'the structure pointed to by par tpt *partptr price par dot selector, has pointer com- The parentheses are necessary in the above operator syntax because The the quantity higher precedence than the dereferencing 10 tptr) has type float; any operation that is legal with type float can be performed this quantity. The following alternate syntax partptr->pr also references the pri ice member. The syntax consists of the variable name, legal hyphen (- and a greater than character (>) followed by the member name ...