C Programming - Complicated Declarations - Discussion

Discussion Forum : Complicated Declarations - Find Output of Program (Q.No. 8)
8.
What will be the output of the program in DOS (Compiler - Turbo C)?
#include<stdio.h>
double i;

int main()
{
    (int)(float)(char) i;
    printf("%d",sizeof(i));
    return 0;
}
4
8
16
22
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
14 comments Page 2 of 2.

Theja said:   1 decade ago
@Wikiok...Thanks for explanation

Prathyusha said:   1 decade ago
GUD EXPLANATION!.....@Kickem

Swathi said:   2 decades ago
Can any one explain this?

ROHITH said:   1 decade ago
Thanks @ROHIT.


Post your comments here:

Your comments will be displayed after verification.