adplus-dvertising
frame-decoration

Question

How many of the following use NULL to indicate failure?
mysql_init(), mysql_real_connect()

a.

0

b.

1

c.

2

d.

3

Posted under MySQL Database

Answer: (c).2

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How many of the following use NULL to indicate failure?

Similar Questions

Discover Related MCQs

Q. Which of these returns a string containing an error message?

Q. Which of the following returns a MySQL-specific numeric code?

Q. Which of the following returns an SQLSTATE code?

Q. The argument to the function mysql_error() is _______________

Q. What does mysql_real_connect() return if it fails?

Q. The function load_defaults() reads the option files.

Q. All API calls return a value.

Q. The general statement-issuing routine is _______________

Q. For failure, mysql_query() returns _______________

Q. How many of the following return rows?

SELECT, SHOW, DESCRIBE

Q. mysql_fetch_row() returns _______________

Q. The columns containing binary value that include null bytes will not print properly using the %s printf() format specifier.

Q. mysql_store_result() does not return a result set.

Q. How many of the following is considered as a special character by ‘mysql_real_escape_string()’?

null byte, single quote, backslash

Q. What enables encrypted connections to be established?

Q. The exec_stmt_ssl is written in _______________

Q. On failure, ‘mysql_query()’ returns _______________

Q. Input handling cannot be customized with MySQL.

Q. By default, MySQL does not clip out of range numeric values to the nearest fit value.

Q. Which table in the ‘INFORMATION_SCHEMA’ stores information about storage engines and server plugins?