-
How many of the following use NULL to indicate failure?
mysql_init(), mysql_real_connect()
-
- 3
- 2
- 1
- 0
- None of these
Correct Option: B
Both of the client library routines named ‘mysql_init()’ and ‘mysql_real_connect()’ return a pointer to the connection handler in order to indicate success and NULL to indicate failure.