This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Is this safe

Is it safe to cast a null to struct just to get the size:

Example:

sizeof(((MEMORY_STRUCT*)0)->GWCD.sid)

Thanks
JD

0