Types of Function

Cards (12)

  • Standard Library Function - These are the pre-defined or built-in functions that is available in C++, that can be accessed through the header files.
  • Standard Library Function These are the pre-defined or built-in functions that is available in C++, that can be accessed through the header files.
  • Example of Standard Library Function: replace() in string library pow() in cmath library
  • Example of Standard Library Function: replace() in string library pow() in cmath library
  • Example of Standard Library Function: replace() in string library pow() in cmath library
  • User-Defined Function (UDF) - These are functions developed by the programmer when writing a program. It is defined based on specific needs.
  • User-Defined Function (UDF) - These are functions developed by the programmer when writing a program. It is defined based on specific needs.
  • User-Defined Function (UDF) - These are functions developed by the programmer when writing a program. It is defined based on specific needs.
  • Elements of UDF:
    • Function Declaration/Prototype
    • Function Definition
    • Function Call
  • Elements of UDF:
    • Function Declaration/Prototype
    • Function Definition
    • Function Call
  • Types of Function
    • Standard Library Function
    • User-Defined Function (UDF)
  • Types of Function
    • Standard Library Function
    • User-Defined Function (UDF)