About Functions

  • C/C++ functions are very similar to those in math. The difference is that in math, functions are expressed in terms of formulaes. In C/C++, they are expressed in terms of commands.
  • Functions, either in math or in program, will return a value. In C/C++, the statement return does this, as we have observed.
  • The value returned by return statement is further examined by the caller. The caller of our main funciton is the operating system.

 


Where to go

Chapter 2
News Page
Lesson 1 contents
Contacting Me


Roby Joehanes © 2001

Hosted by www.Geocities.ws

1