
324 Fundamentals of Computer Programming and IT
This technique is similar to divide-and-con-
quer technique. Dividing a large program into
smaller functions pr
ovides advantages to the
programmer. The testing and debugging of
a program with functions becomes easier. A
function can be called repeatedly based on the
application and thus the size of the pro gram
can be reduced. The message passing between a
caller (calling function) and callee (called func-
tion) takes places using arguments. The con-
cept of modular approach of C++ is obtained
from function. Following are the advantages of
functions:
a. Support for modular programming
b. Reduction ...