Types
of Functions
Functions
can be classified into two types,
1.
Pre-defined or Built-in or Library Functions
2.
User-defined Function.
C++
provides a rich collection of functions ready to be used for various tasks. The
tasks to be performed by each of these are already written, debugged and
compiled, their definitions alone are grouped and stored in files called header files. Such ready-to-use sub
programs are called pre-defined
functions or built-in functions.
C++
also provides the facility to create new functions for specific task as per
user requirement. The name of the task and data required (arguments) are decided
by the user and hence they are known as User-defined
functions.
Related Topics
Privacy Policy, Terms and Conditions, DMCA Policy and Compliant
Copyright © 2018-2023 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.