How to get the number of bytes occupied by field in a structure by C language
This article mainly shows you "C language how to get the number of bytes occupied by field in a structure". The content is simple and clear. I hope it can help you solve your doubts. Let me lead you to study and learn this article "C language how to get the number of bytes occupied by field in a structure".
Get the number of bytes occupied by field in a structure
# define FSIZE (type, field)\ (sizeof (type*) 0)-> field)) these are all the contents of the article "how C language gets the number of bytes occupied by field in a structure". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!