Some basic C problems and practices