This chapter finishes our tutorial introduction to C. We focus on user-defined functions, showing how we can define simple functions and use them to improve upon our earlier interest rate programs. Along the way, we cover function definitions, function calls, function prototypes, and function return values. We also introduce the process of compiling programs that contain functions defined in multiple source files. Finally, we demonstrate how using functions leads to more readable and maintainable programs, and we discuss how to test the functions we've written. By this chapter's end, you should feel comfortable constructing programs from functions you write yourself.
Jump to: [Previous Chapter | Next Chapter]
��1) ������ ���� ����� �ϴ� ���α� (intrate7.c)
��2) 2���� source file��� ������ C ���α� (irmain.c, irfuncs.c)
* *** ***** ******* *********
���� ���:
Enter number of objects in the set (n)? 5 Enter number to be chosen (k)? 3 C(5, 3) = 10