Home » C Programming » C-Library-Functions » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    #include <math.h>
    int main()
    {
    int n = 90;
    printf("%f\n", sin(n));
    return 0;
    }
    1. Undefined behaviour
    2. 1.000000
    3. Compilation Error
    4. 0.893997
    5. None of these
Correct Option: D

0.893997



Your comments will be displayed only after manual approval.