1.

In linux, apart from including math header file, the program is successfully executed by which of the following?(a) cc filename.c(b) cc filename.c -lc(c) cc -math filename.c(d) cc -lm filename.cThe question was posed to me in a job interview.My doubt is from Mathematical Functions topic in section Input and Output in C of C

Answer»

The CORRECT ANSWER is (d) CC -lm filename.c

Best explanation: None.



Discussion

No Comment Found

Related InterviewSolutions