home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_01 / 049.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-06  |  743KB  |  2550x3300
Labels: book | poster | reckoner
OCR: Introduction to Functions and Structured Programming in C This program consists of two functions ma. in and f() The purpose of main() is to make several calls to aid demonstrate different actual parame- SC ters. The function f() is the C implementation of the mathematical function f(x) Note 1:The declaration of the fuinction f() indicates that this function takes single parameter of type irt and returns value of 'type int. The decla- ration appears above ma in In this position. its declaration or proto- type 1c known all functions in the file In this program, the prototype for also appear inside of Note 1 main In position, would be the only function that would know about the declarat tion. The significance of this will become apparent programs get more complex. Note The line calls the func ...