Some examples in C primer book