>pop quiz:: how many bytes in 64 bits?
Nice trick question, I might use it to trip up some of my friends
The answer is 8 btw.
64bits / 8bits = 8bytes
but I'm sure a bunch of other people answered before I saw this post.
>with any variable type why am I always getting 0?
Assuming that you haven't assigned a zero value to the variable, the reason is probably because it's global and you haven't assigned it a value yet. All global variables are initialized to the zero equivalent of that type automatically.
-Prelude