{"provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhp-ux.hatenadiary.org%2Fentry%2F20090108%2F1231448281\" title=\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 C\u8a00\u8a9e\u3000\u5fa9\u7fd2\u3000\u69cb\u9020\u4f53\u3000\u5171\u7528\u4f53 offsetof - \u5909\u66f4\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 C\u8a00\u8a9e\u3000\u5fa9\u7fd2\u3000\u69cb\u9020\u4f53\u3000\u5171\u7528\u4f53 offsetof","categories":[],"author_name":"hp-ux","height":"190","published":"2009-01-08 05:58:01","url":"https://hp-ux.hatenadiary.org/entry/20090108/1231448281","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/hp-ux/","version":"1.0","type":"rich","blog_url":"https://hp-ux.hatenadiary.org/","blog_title":"\u5909\u66f4","description":"offsetof\u30de\u30af\u30ed\u306e\u5b58\u5728\u3092\u77e5\u308b\u3002 #include <stdio.h> #include <stddef.h> typedef enum { OP_CHAR, OP_CONCAT, OP_ALTER, OP_CLOSURE, OP_NULL } Op_t; typedef struct Tree { Op_t Op; union { char c; struct { struct Tree *_left; struct Tree *_right; }X; }U; }Tree_t; int main(void) { Tree_t t; printf(\"t=%d,op=%d,o_op=%d,U\u2026","width":"100%","image_url":null}