PDA

View Full Version : Define function in c++ May 2011



Vuhelper
05-30-2011, 03:11 PM
http://t2.gstatic.com/images?q=tbn:ANd9GcRwftIICExOtnuo8kyOHkSmVfgxQEu1N rDIvuVB2KBunjb6FbnlKA

function are like a subtask. They receive some information do some process and provide a result .function are invoked through calling program .The calling program does not need to know what the function is do and how its performing its task.
There is a specification function called methodology . The calling program call a function by giving some information and receive a result .
There are two categories of function
1 ) function that return a value
2 ) function that do not return a value