-
What does mysql_real_connect() return if it fails?
-
- NULL
- structure
- float
- integer
- None of these
Correct Option: A
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 return NULL on failure.