Hey Jinyoung
> According to the slide 2, page 4 in Variables, the page says that "A typical C program will use 4 bytes to hold a single integer value, or 8 bytes to hold a single floating-point value."
>
> It this correct?
If I remember correctly floats are 4 bytes and doubles are 8 bytes (hence the name double) but Chris may need to clarify.
> Integer value has 2 or 4 bytes and a single floating-point value has 4 bytes?
> I am confused.
An integer value must be at *least* 2 bytes (or 16 bits) but it is *usually* 4 bytes (32 bits). It's a bit confusing because different systems will use a different number of bytes to represent an int, however a 32/64 bit system should use 32 bits. So, it should be safe to assume it is just 4 bytes (32 bits). However, there are types you can use that guarantee the number of bytes used (these are called **Fixed width Integer types**). Not sure if you guys will need them in this unit.
The *more bytes* (or bits) used the *larger the number* that can be represented.
I hope that helps.