0% found this document useful (0 votes)
4 views

Function: A Function Is A Small (Complete) Programe Which Is Prepared/used For Single and Special Task

A function is a small program used to perform a single task. Functions have a name, may accept parameters in parentheses, and come in two types: built-in functions predefined by developers for common uses, and user-defined functions created by users as needed. User-defined functions involve declaring a function, calling or using the function, and defining what the function does.

Uploaded by

M Hamza Nadeem
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Function: A Function Is A Small (Complete) Programe Which Is Prepared/used For Single and Special Task

A function is a small program used to perform a single task. Functions have a name, may accept parameters in parentheses, and come in two types: built-in functions predefined by developers for common uses, and user-defined functions created by users as needed. User-defined functions involve declaring a function, calling or using the function, and defining what the function does.

Uploaded by

M Hamza Nadeem
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 4

Function

A function is a small (complete) programe which is prepared/used for single and special task.

Parts of Function
Name

of function: Consists of some characters (meaningful) Parenthesis ( ) Parameters / arguments: The values written inside the parenthesis, some time no value, one value, two..

Types of Function
There are two types of functions Bulit in / Pre defined Function: The functions which have developed and stored by software developer. The functions are commonly used. User Defined Function: The functions which are developed by user according to his need

User Defined Function


Declaration

of Function Calling of Function Defining or Creation of Function

You might also like