title: Is there any way to loop through a struct with elements of different types in C?
body: <p>my struct is some like this </p>
  
  <pre><code>typedef struct {
    type1 thing;
    type2 thing2;
    ...
    typeN thingN;
  } my_struct </code></pre>
  
  <p>how to enumerate struct childrens in a loop such as while, or for?</p>