Examveda

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

A. Compile time error

B. Undefined behaviour

C. 0.893997

D. 1.000000

Answer: Option C


This Question Belongs to C Program >> File Input Output

Join The Discussion

Related Questions on File Input Output