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;
}
#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
Join The Discussion