1.

The MySQL clients are linked with _____________(a) -lmysqlclient(b) -cmysqlclient(c) -dmysqlclient(d) -vmysqlclientI have been asked this question in homework.I want to ask this question from Compiling and Linking Client Programs in portion MySQL Programs Using C of MySQL

Answer»

Correct answer is (a) -lmysqlclient

Explanation: MySQL CLIENTS should be linked using the ‘-lmysqlclient’ option in the link COMMAND. A ‘-L’ option also needs to be specified to TELL the linker where to find the library for it.



Discussion

No Comment Found

Related InterviewSolutions