Home / C Programming / Complicated Declarations :: Discussion

Discussion :: Complicated Declarations

  1. What will be the output of the program in DOS (Compiler - Turbo C)?

     #include
     double i;
     
     int main() 
     {   
        (int)(float)(char) i;          
        printf("%d",sizeof(i));     
        return 0;
     } 
    

  2. A.

    4

    B.

    8

    C.

    16

    D.

    22

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    No answer description available for this question.


Be The First To Comment