Demo:How to protect the data in struct in C language