Assume that you have the struct my_struct in C.
Then you are using sizeof(my_struct) to find how many bytes that struct have. Is there any way to find out that my_struct is a struct just by using sizeof() method in C?
For example, if I want to find out that my_variable is 16-bit, then I just check if sizeof(my_variable) == 2.
Can I do the same for struct in C?
 
    