https://quizack.com/system-programming/mcq/a-c-program-domath-c-utilizes-the-math-library-which-of-the-following-commands-correctly-creates-the-corresponding-executable-domath
A C program "domath.c" utilizes the math library. Which of the following commands correctly creates the corresponding executable "domath"?
cc -o domath domath.c
cc -o domath domath.c -L /usr/lib -lmathcc -o domath domath.c -lm
cc -o domath domath.c -lm
cc -o domath domath.c -Lmath
Answer:
cc -o domath domath.c -lm
Note: This Question is unanswered, help us to find answer for this one