some test code with c language