Skip to content

Commit

Permalink
fix Exervice 4.30
Browse files Browse the repository at this point in the history
  • Loading branch information
ifgladlee authored and pezy committed Jan 26, 2015
1 parent 70bf0f1 commit 621dd67
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 @@ -261,7 +261,7 @@ reference: [Why the size of a pointer is 4bytes in C++](http://stackoverflow.com
##Exercise 4.30
>Using Table 4.12 (p. 166), parenthesize the following expressions to match the default evaluation:
```cpp
sizeof x + y // sizeof(x+y)
sizeof x + y // (sizeof x)+y . "sizeof" and "+" have equal precedence, and left associative.
sizeof p->mem[i] // sizeof(p->mem[i])
sizeof a < b // sizeof(a) < b
sizeof f() //If `f()` returns `void`, this statement is undefined, otherwise it returns the size of return type.
Expand Down

0 comments on commit 621dd67

Please sign in to comment.