Types of Functions
In programming languages, there are usually two types of functions; built-in functions
and user-defined functions
. Built-in functions are pre-defined by the programming language itself. We've already seen built-in functions in previous lessons such as print()
. User-defined functions are functions that are defined by the user to dedicate a block of code to perform a specific task.
In this lesson, we will discuss how you can create and use your functions within your program.