Question: what is the return type of a function?
Answer: The result of a function is called its return value and the data type of the return value is called the return type. If a function declaration does not specify a return type, the compiler assumes an implicit return type of int . ... A function can have a return type that is a user-defined type.