test pack of struct type in C language