Home » C Programming » C-Library-Functions » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    #include <math.h>
    void main()
    {
    int n = sqrt(16);
    printf("%d\n", n);
    }
    1. Compilation Error
    2. 16
    3. 4
    4. Garbage value
    5. None of these
Correct Option: C

4



Your comments will be displayed only after manual approval.