Your book is wrong because the memory locations for those variables are not guaranteed to be contiguous.