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 / 012.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-11  |  637KB  |  2550x3300
Labels: book | crt screen | monitor | reckoner
OCR: Chapter Getting Started of functions IS not legal in C Note that the function heading not termi- int ma nated with semicolon. pr re Learning Activities List all the separate tokens in the program shortsub.c. Modify shortsub.c by adding a function named funct () that has return type void and does not take parameters Have both main) and does nothing call funct 1.4 An Introduction to Output in C The two programs that we have seen will compile and run, but they contain no productive statements We will add executable statements to our programs gradu- ally. The addition is to have the program produce output In input and out put known functions are as not that the part comes of standard the with language, C library. but compiler. The are output This supplied library function as Or we functions wi ...