Examveda

What will be the output of the following C code?
#include <stdio.h>
#include <math.h>
int main()
{
    int i = 10;
    printf("%f\n", log10(i));
    return 0;
}

A. Compile time error

B. 1.000000

C. 2.302585

D. None of the mentioned

Answer: Option B


This Question Belongs to C Program >> File Input Output

Join The Discussion

Related Questions on File Input Output