Skip to content

Commit

Permalink
fixed 2.26.
Browse files Browse the repository at this point in the history
  • Loading branch information
pezy committed Jun 1, 2017
1 parent 7ff95b6 commit 4d98ffe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ch02/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,8 @@ Because the type `void*` is a special pointer type that can hold the address of
> const int buf; // illegal, buf is uninitialized const.
> int cnt = 0; // legal.
> const int sz = cnt; // legal.
> ++cnt; ++sz; // illegal, attempt to write to const object(sz).
> ++cnt; // legal.
> ++sz; // illegal, attempt to write to const object(sz).
> ```
## Exercise 2.27
Expand Down

0 comments on commit 4d98ffe

Please sign in to comment.