Home » C Programming » Operators » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    //(sizeof double = 10, float = 5, void = 4)
    #define PI 3.14
    int main()
    {
    printf("%d", sizeof(PI));
    }
    1. 1
    2. 4
    3. 8
    4. Compilation Error
    5. None of these
Correct Option: C

8



Your comments will be displayed only after manual approval.