Home » MYSQL » MySQL Database Operations » Question
  1. Which of the following use ‘NULL’ to indicate failure?
    mysql_init(), mysql_real_connect()
    1. 3
    2. 2
    3. 1
    4. 0
    5. 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.



Your comments will be displayed only after manual approval.