C language understanding and testing