
source: https://msdn.microsoft.com/en-us/library/aa293328(v=vs.60).aspx


the basic difference between fortran function and subroutine as far as it concerns the C code is that the subroutine is seen as a void output function which does some changes on the input variables but fortran function has a type and does not necessarily changes the inputs but returns a value of the type
