Constants quiz Pascal Cuoq on 20 January 2012
What does the following program print? long long l; #include <stdio.h> int main() { l = -0x80000000; printf(\%lld" l); } $ gcc t.c && ./a.out And this one? (beware trick question) long long l; #include <stdio.h> int main() { l = -2147483648; printf("%lld" l); } $ gcc t.c && ./a.out...
Read More