#include <stdio.h>
int main () {
    double num = 5.2;
    int var = 5;
    printf("%d\t", sizeof(!num));
    printf("%d\t", sizeof(var = 15/2));
    printf("%d", var);
    return 0;
}
Running this program on VS 2010 and GCC 4.7.0 gives the output as 1 4 5 and using Turbo 3.0/4.5 gives 2 4 5 as the result.
From where can we get the exact sizes of the datatypes ?
I did read the following links:link1, link2, link3, link4 and link5 But they were not able to answer my query !
 
     
    