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 / 240.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-11  |  639KB  |  2550x3300
Labels: book | reckoner
OCR: 240 Chapter Arrays and Pointers Note 3. The corresponding formal parameters to get input are declared as type double Note 4 The input of the values done with calls to scanf The second parameter to scani in each call I8 the corresponding formal parame- ter. It is the address of the variable that will be initialized by the call to scanf. Note that since len ptr and wid ptr are addresses, not necessary to use the address operator, in this case As an aside we have finally discovered the reason that the parameters to scanf that appear after the control string must be addresses. The function scanf uses the technique of simulating pass by reference to allow it to change program values when accepts, converts and stores input Learning Activities Execute the program and make sure you understand why ...