Important Notice:

Course Content
Building IoT Applications (Chapter-4) M4-R5.1
About Lesson

FUNCTIONS

          A function is itself a block of code which can solve simple or complex task/calculations.

       A function performs calculations on the data provided to it is called “parameter” or “argument”.

A function always returns single value result.

Types of function:

  1. Built in functions(Library functions)

       a. Inputting Functions.

       b. Outputting functions.

  1. User defined functions.

      a. fact();

       b. sum();

Parts of a function:

 

  1. Function declaration/Prototype/Syntax.

  2. Function Calling.

  3. Function Definition.

error: Content is protected !!