Function Prototypes

A function prototype precedes the function definition and specifies the name, return type and a function's arguments.

Syntax

function-prototype: type-specifier declarator ;

Example

int add(int a, int b);
void test();

Last updated