Invoking functions with returned values

Both C and Fortran can invoke the other language as a function that returns a value: in C, this would be a function that returns something other than void; in Fortran, a function is a routine that begins with a FUNCTION statement. Only certain data types, however, can be used as function return values. See Table 1 for a list of the supported data types that can be used as function return values.