Derpette
2013-02-22 16:03:12 UTC
I need to do a bitwise operation using the function
unsigned int sizeOfLong(void)
{
// sizeOfLong determines the number of bits in the internal
// representation of a long
}
I need to be able to make this function determine the number of bits in the internal representation of a "long" using bitwise operations.
The output should be something like:
"The number of bits in the internal representation of a long is 32."
Can please someone give a few hints on what a "long" is and how to find it using bitwise operations? Thank you, I'm so lost