Skip to content

Commit

Permalink
improved statements of ch04
Browse files Browse the repository at this point in the history
  • Loading branch information
pezy committed Jul 1, 2015
1 parent 83a8cb6 commit e3aa117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch04/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ We then shift the bits `6` digits to the left, which yields us `1111 1111 1111 1
> In our grading example in this section, what would happen if we used unsigned int as the type for quiz1?
no different in most situation. `unsigned int` have the same size as `unsigned long` on most machine. But the second one could make sure that it have **at least 32 bits** on any machine.
There are 30 students in the example of this section. `unsigned long` have at least 32 bits on any machine. Thus, it is ensured that the bits start out with well-define values. The standard define that `unsigned int` is guaranteed to hold 16 bits. If `unsigned int` adopted, the result is undefined.
##Exercise 4.27
Expand Down

0 comments on commit e3aa117

Please sign in to comment.