Originally Posted by
laserlight
Well, if you are writing a compiler for your own programming language, you can do whatever you want :)
But if you're writing a C compiler, that would be non-conforming: C doesn't allow monkey-patching, so the fact that struct trajectory was declared as having x as an int member means that all struct trajectory objects have x as an int member, so if bullet_trajectory is a struct trajectory object, then bullet_trajectory.x must be an int, unless you change the declaration of struct trajectory itself.
No, x is a member of the struct; the value of x is not a member of the struct.
Let me put it this way: suppose you are a member of your local C programming club. Let's also suppose that you are carrying $100 with you. So, can I conclude that $100 is a member of your local C programming club?