Examples of Prototypes
int max (int, int);
int min (int a, int b); // argument names are optional
complex abs (complex &); // can use user defined types
bool operator < (distance &, distance &);
// prototype for operator
Previous slide
Next slide
Back to first slide
View graphic version