Yes, they should know that. A lot of authors should also know things such as int main() instead of void main(), but I guess these days almost anyone can publish a book full of crap.