1.

What does mysql_init() return?(a) integer(b) float(c) structure(d) pointer to a structureI got this question in my homework.The above asked question is from SQL Statement Syntax (Non-Compound Statements) topic in chapter SQL Syntax of MySQL

Answer»

Correct choice is (d) POINTER to a structure

To elaborate: When NULL is passed to mysql_init() it AUTOMATICALLY allocates an 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