ESQL/C supports the predefined data types string, fixchar, and varchar for host variables that contain character data. In addition, you can use the C char data type for host variables. The following table shows which of these host-variable data types you can use for NCHAR and NVARCHAR data.
NCHAR
NVARCHAR
You can insert a value that a character host variable (char, fixchar, string, or varchar) holds in columns of the NCHAR or NVARCHAR data types. For more information about how to insert host variables into the NCHAR and NVARCHAR data types, see Chapter 3 of the INFORMIX-ESQL/C Programmer's Manual.