| <<< Software design and implementation | Index | Math library functions >>> |
A C program is a set of:
variable definitions and
functions
Functions encapsulate computation. For example:
main( ) is a top-level entry into program
math library functions: sqrt(), sin(), cos(), etc.
functions for data input/output: printf(), fgets(), etc.
algorithm functions: sort(), copy(), find(), etc.
functions to validate and store data
| <<< Software design and implementation | Index | Math library functions >>> |