Dont code C if you dont know what you are doing.
Also, I'm willing to bet that that if you've written any significant amount of C, you have some undefined behavior that you're not aware of. Just because it works doesn't mean it's defined behavior according to the standard.
Dont code C if you dont know what you are doing.