I'm trying to print 64bit number using printf but it does not work.
This code prints number as -2147483648 , it looks that i is not recognized like 64bit but 32bit in printf.
I tried to use int64_t and same result.
If i do sizeof(i) it recognize that is 64bit number.
long long int i;
i = (long long int)2147483648L;
printf (" %lld \n", (long)(long)(int)i);