Write a program the outputs sizeof(type) to display the size of each type in bytes. Then multiply by 8 for bits.
For example sizeof(char) will probably output 1.
Reputation Points: 3280
Solved Threads: 897
Posting Sage
Offline 7,753 posts
since May 2006