11.4k views
2 votes
This part of a function definition specifies the data type of the value that the function returns.

a. header
b. footer
c. body
d. Return statement

1 Answer

6 votes

Final answer:

The part of a function definition that specifies the data type of the value returned is the header, which includes the function name, parameters, and return type.

Step-by-step explanation:

The part of a function definition that specifies the data type of the value that the function returns is known as the header. This includes the function name, its parameter list, and, importantly, the return type which indicates what type of data will be returned by the function when it is called. For instance, in the C programming language, a function that returns an integer would have a header with int before the function name, indicating the integer data type.

User Melsam
by
8.2k points