When we declare a function we specify three things.

First we give the return type, function name and finally the parameters.

Here we declared a return type of string, name of numToStr and a parameter number of type int.