Thread: Errata page 182
View Single Post
  #1 (permalink)  
Old May 21st, 2006, 09:19 PM
tpangborn tpangborn is offline
Registered User
Join Date: May 2006
Location: Redding, CA, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Errata page 182

The statement in the middle of the page 182 regarding applying the [u]sizeof</u> operator to a type name is INCORRECT.

Incorrect statement: size_t_size = sizeof(long);
Corrected statement: size_t size = sizeof(long);

Note the underline character ("_") should not connect the type size_t to the variable size.