home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_04 / 221.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-11  |  551KB  |  2550x3300
Labels: book | crt screen | poster | reckoner | sky
OCR: Pointer Variable 221 Dereferencing ram Example 4-8 pointer.c ice ma- poi inter.c nter for Obj Synopsis iective Ass prints igns Demonstrates that value lue to and a char its reference memory variable the address twice tents and C1 va how to ina pointer variable Include Files the lude <stdio h> #inc int main( void char C Note 1 *ptr c - &C pr: intf( "The C value of is n C; otr Note 2 pr intf( intf( "ptr poi character ints to C stored in hex X. An" pr "The Note 3 ptr printf( "The value of c is to now \n" $c.\n" c; Note 4 printf( intf "ptr now character poi .nts stored in hex X \n" pr "The return an nory Running the Program am- Fig The value its ptr poi "character ints hex 65faf4 veen The stored in sses The val lue of now orts ptr The now character od int in hex 65faf4 stored contents Obiectiv ...