func: int main(int argc, char *argv[]) if ( argc > 1 )  if ( ( fileNames = ( char * * ) malloc ( ( nbArgs ) * sizeof ( char * * ) ) ) == NULL )  if ( ! ( fileNames [ i ] = ( char * ) malloc ( 256 * sizeof ( char ) ) ) )  strncpy ( fileNames [ i ] , argv [ i + 1 ] , 255 ); for (unsigned int i=0;i<nbArgs;++i) if ( printFile ( fileNames [ i ] ) )  int printFile(const char *fileName) if ( fp = fopen ( fileName , "r" ) )  printf ( ">>> %s\n" , fileName ); while ( fgets ( buffer , 512 , fp ) )  printf ( "%3d: %s" , ++ lNumber , buffer ); fclose ( fp ); printf ( "Argument error, the given argument is not a readable file (%s).\n" , fileNames [ i ] ); for (unsigned int i=0;i<nbArgs;++i) free ( fileNames [ i ] ); free ( fileNames ); 