The function declaration is not mandatory in C++ if the fuction definition precedes the first use of the function.