1 2 3 4 5 6 7 | #include <iostream> int main() { std::cout<<sizeof(int)<<'\n'<<sizeof(10000000000)<<std::endl; return 0; } |
I2luY2x1ZGUgPGlvc3RyZWFtPgoKaW50IG1haW4oKQp7CglzdGQ6OmNvdXQ8PHNpemVvZihpbnQpPDwnXG4nPDxzaXplb2YoMTAwMDAwMDAwMDApPDxzdGQ6OmVuZGw7CglyZXR1cm4gMDsKfQ==
prog.cpp:5: error: integer constant is too large for ‘long’ type
-
result: Compilation error (maybe you wish to see an example for C++ 4.7.2)


