Passing character data

Character data can be received by a Fortran routine only when the routine that receives the data declares the data to be of fixed length. Therefore, the Fortran form CHARACTER*(*) cannot be used by a Fortran routine to receive character data. An array of characters can be processed in a C++ routine only when the Fortran routine or the C++ routine produces the terminating null character.