adplus-dvertising
frame-decoration

Question

Which option is necessary to compile a C program havin math functions?

a.

-lm

b.

-ln

c.

-lp

d.

-lq

Posted under MySQL Database

Answer: (a).-lm

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which option is necessary to compile a C program havin math functions?

Similar Questions

Discover Related MCQs

Q. The option for specifying the executable name while compiling with gcc is _____________

Q. Which file can be used to execute multiple compile statements?

Q. Which flag is used to compile client programs that use MySQL header files?

Q. The MySQL clients are linked with _____________

Q. On Unix, linking uses dynamic libraries by default.

Q. What can be used as an alternative to mysqlconfig?

Q. Which of these has a smaller memory footprint?

Perl, PHP

Q. The static C library client in Windows is _____________

Q. Which of the following is used on Solaris?

Q. Which library file contains various portability macros and definitions?

Q. Which header should be included first?

Q. mysql_init() returns a _____________

Q. When linking to a static MySQL C client library, the client library and the client application must use the same compiler option.

Q. Which of these can be used in place of MYSQL_SERVER_VERSION?

Q. Which of the following can be used interchangeably with MYSQL_VERSION_ID?

Q. Which option is supplied to ensure TCP/IP connection to local server?

Q. Connections to remote servers always use TCP/IP.

Q. The –protocol value ‘TCP’ runs on which operating systems?

Q. The ‘SOCKET’ protocol is permitted on which operating systems?

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