Sunday, January 27, 2019

Types of Function in c++ programming

In this post, you will learn about the types of function in c++ programming and how the function works in programming.

types of c++ programming, learn c++ programming
learn c++ programming


Introduction to function

the function is a subset of a program, and it's a collection of code which is used to perform the special task in a program. it's a subprogram.

Types of functions in c++ programming

  1.  Built-in functions
  2.  User-defined functions

Built-in functions:

the functions which are self-defined in the header files of the program and not defined by the user is called the built-in functions. 

Example:
                clrscr(), cout(), cin(), getch() etc.

User-defined functions:

the functions which are defined by the user is called user-defined functions.

Note: you will be totally understood in next chapters about user-defined functions when we create functions.

"Please show your love by sharing this post as much as possible. also, comment to me your question in the section given below."


0 comments: