1.

What does mysql_real_connect() return if it fails?(a) integer(b) float(c) structure(d) NULL

Answer» The correct answer is (d) NULL

The explanation is: The function ‘mysql_real_connect()’ must complete successfully before any other API functions that require a valid MYSQL connection handler structure can be executed. It returns NULL on failure.


Discussion

No Comment Found