title: Dynamically creating objects in C
body: <p>Hello, guys!</p>
  
  <p>I'm familiar with JavaScript and PHP, but new to C. 
  I am trying to play around with graphics in C and craete colision algorithm. Now, I need to create objects dynamically, just like in more advanced languages. For example, I need to create a polygon via my own function and make it an object that would be visible to the whole script. I assume, a struct would be needed. </p>
  
  <p>As far as I know, everything declared in a function stays in a function. How can I dynamically declare global structs?</p>