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
There is a pebble merchant. He sells the pebbles, that are used for shining the floor. His main duty is to take the length of the room’s sides. But he sometimes mistakes doing that

I need Asp .net Facebook app project completion Project Description: We are urgently seeking a few remaining items to be completed, and the project to be deployed to live.

please provide me the assignment help. What is the difference between a copy constructor and an overloaded assignment operator?

Can I explicitly call a destructor if I've allocated my object with new?

#Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b.   #include float start_poi


why is programming is needed now-a-days.what is the benefit of colleges to apply heavy loads on students head.

It tells the compiler that a variable or a function exists, even if the compiler hasn't yet seen it in the file presently being compiled. This variable or function may be distinct

Explain The Type Conversion in Expressions in c language? When variables and constants of different types are used in an expression they are all converted to same type. The com

C program to string compression: Write a program to define a sting and all operations on string. void main()                                 {