C++ int var types internals demo
Posted: Sun Apr 29, 2007 1:15 pm
Just a quick prog to demonstrate that int uses 4 bytes on 32 bits systems, and show how int values are stored in memory, in response to a post on ttlg.com.
(note: the output on the screenshot would be different if compiled on a 64 bits system, with long being 64 bits)
(note: the output on the screenshot would be different if compiled on a 64 bits system, with long being 64 bits)