Functions, C/C++ Programming

Define Function? There are two types of function built-in functions and user-defined functions.   Built-in functions are the function within C++ like main, setw, sqrt,  etc.  User-defined functions are the functions produced by the user or the programmer for a specific job.  The advantage of producing function is it reduces program size, easy to maintain and modify.   Only the statements called within the main function will be executed.

The use-defined  function must have  a prototype  (declaration) before it can be called

except for inline function. There are other functions like friendly function and virtual function which will be discussed later.

Posted Date: 9/20/2012 7:44:59 AM | Location : United States







Related Discussions:- Functions, Assignment Help, Ask Question on Functions, Get Answer, Expert's Help, Functions Discussions

Write discussion on Functions
Your posts are moderated
Related Questions
Write a program that writes your name on the monitor ten times. Write this program three times, once with each looping method.


if one won't explicitly call the destructor of a local; then how does he handle the above situation?

Virtual Webcam effects - Setup and Source code with Nice User Interface Project Description: I want a similar webcam effects application which can apply effects to webcam fee


write c language program that shows stack overflow..

Differentiate between the expression "++a" and "a++"? - With ++a, increment happens first on variable a, and resulting value is used. This is known as prefix increment. - Wi

in this problem u given a board in which some of the elements are placed as shown in diagram below .each element represent a color .fill the other elements in the board such that n

write a program to solve e^x

HOW TO USE POINTER