Challenges

Write a program that shows you how much memory a float consumes.

On your Mac, a short is a 2-byte integer, and one bit is used to hold the sign (positive or negative). What is the smallest number it can store? What is the largest? An unsigned short only holds non-negative numbers. What is the largest number it can store?

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset