<<< Functions | Index | Another function example >>> |
Our function
int square( int x ) { return x * x; }
is an example of
Return_type function_name ( Parameter_list ) { // use each parameter here in your code return some_value; // of Return_type }
<<< Functions | Index | Another function example >>> |