A Function is a named unit of a group of program statements. This unit can be invoked from other parts of the program. With the help of a function the program becomes easy to handle and ambiguity is avoided when dealing with a small part of the program. The size of the program also reduced by the use of functions in a prgram.
Functions are pieces of codes that do exactly what their names indicates - performs a task or function in your program. Functions are good because they let you write a code that is modular. Modular code is easy to debug and easy to maintain. In order to use a function, it has to be first declared and then defined. LEARN MORE>>
No comments:
Post a Comment