pointer exerceises in C