1.

The columns containing binary value that include null bytes will not print properly using the %s printf() format specifier.(a) True(b) FalseI had been asked this question during an internship interview.The question is from Processing SQL Statements topic in chapter MySQL Programs Using C of MySQL

Answer»

Right choice is (a) True

Explanation: The columns containing BINARY VALUE including null bytes do not print properly using the %s PRINTF() format specifier. printf() expects a null terminated string. It PRINTS the column value only up to the first null BYTE.



Discussion

No Comment Found

Related InterviewSolutions