In c++, there are several parameters that are used in functions. You can use int, string, and the other datatypes used in the main fucntion. The parameter data types are the same ones that would be used in the main part of the function.

The function return type is what tells the computer what kind of data type the function will be returning to the fucntion calling. Again, the same data types that are used in the main function, can be used as the function return type.

Tyrannosaurus Rex roar

Calling by value and by reference