adplus-dvertising
frame-decoration

Question

What is the output of this program?
    #include <stdio.h>
    #include <math.h>
    int main ()
    {
        double param, result;
        param = 5.5;
        result = log (param);
        printf ("%lf", result );
        return 0;
    }

a.

5.5

b.

3.14

c.

1.704

d.

None of the mentioned

Answer: (c).1.704

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of this program?

Similar Questions

Discover Related MCQs

Q. Which of the following mathematical function is overloaded in <complex>

Q. How many parameters are used in frexp function?

Q. Which of the following library is used to do vector arithmetic?

Q. Which header file is used to manipulate the vector algebra in c++?

Q. What type of reference should be used in vector arithmetic?

Q. What will be the type of output of vector cross product?

Q. Which function is used to optimize the space in vector?

Q. What is the use of vector arithmetic in c++?

Q. Which header file is used to operate on numeric sequences?

Q. Which mathematics library is used for vector manipulation in c++?

Q. What is the use of accumulate function in numeric library?

Q. How many parameters are available in partial_sum function in c++?

Q. What is the default operation of adjacent_difference function in numeric library?

Q. Which header file is used to create the pseudo random generator?

Q. Which is a constant defined in <cstdlib> header file?

Q. How many parameters are available in srand function?

Q. Which operator is used to produce a certain number in a specific range?

Q. Which can be used to create a random number without duplication?

Q. Ios: : skipws, ios: : left, ios: : dec, ios: : fixed, is an example of

Q. If we don't want any ios object can be declared in ios class, we can use a default constructor