1. Computing

Definition of Function Prototypes

By

Definition:

A function prototype is a declaration in C and C++ of a function, its name, parameters and return type. Unlike a full definition, the prototype terminates in a semi-colon.

int getsum(float * value) ;

Prototypes are used in header files so that external functions in other files can be called and the compiler can check the parameters during compilation.

Glossary:

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
  1. About.com
  2. Computing
  3. C / C++ / C#
  4. Glossary
  5. Function Prototypes - Definition

©2014 About.com. All rights reserved.