1.

mysql_init() returns a _____________(a) integer(b) float(c) structure(d) pointer to a structureThe question was asked in exam.The doubt is from Connecting to the Server topic in portion MySQL Programs Using C of MySQL

Answer»

The correct choice is (d) pointer to a structure

Explanation: When NULL is PASSED to mysql_init() it automatically allocates a MYSQL structure, initializes it, and RETURNS a pointer to it. The MYSQL DATA type is a structure containing INFORMATION about a connection.



Discussion

No Comment Found

Related InterviewSolutions