HP Fortran Programmer's Guide (March 2010)

Calling C routines from HP Fortran
Data types
Chapter 8194
Allocatable arrays may be passed from Fortran to C like any other array, with the precaution
about array differences between the two languages. Strings (an array of characters in C) are a
different matter; see “C strings” on page 203 for information about passing strings from
Fortran to C.