title: Can members in a structure be initialized to a value?
body: <p>I was just wondering if a variable declared and defined inside a structure can be initialized to a certain value, was planning on using function pointers to mimic the classes in OOP.</p>
  
  <p>Example COde: </p>
  
  <pre><code>typedef struct{
  int x;
  int (*manipulateX)(int) = &amp;manipulateX;
  }x = {0};
  
  void main()
  {
      getch();
  }
  
  int manipulateX(int x)
  {
      x = x + 1;
  return x;
  }
  </code></pre>