Skip to main content

#What is function?

A Function is a self contained sub program that is meant to do some well defined task.

A function is also called procedure,subroutine,subprogram.It is suitable set of instruction which performs a task is called function.In another word small module of program is called function.

* Type of function
There are two type function
1.)Inbuilt/predefined/library function
printf()
scanf()
clrscr()
getchar()
getch()
putchar()
strcmp() etc...

2.) User defined function:- The user can create there own function for performing any specific task.

Three thing required to create user defined function are:-
a.) function definition
b.)function prototype
c.)function call
   

Comments

Popular posts from this blog

Math notes

Supremum   math Logical math Recurrence Relation  

What is sequential flow chart?

These types of flow chart indicates that the flow of control normally passes from one instructions to the next in a sequence with in a programme. Example :- design a flow chart to calculate addition of two number                          

React Js interview questions