title: Is there anyway that I can initialize members on conditional basis without pre processor directives?
body: <p>I have an array of structures. During initialization, I need to initialize on conditional basis. say</p>
  
  <pre><code>struct struct_name[arraySize] = { {1, 'a'}, {2, 'b'},
  #if condition
      {3, 'c'}
  #else
      {4, 'd'}
  #endif
      };
  </code></pre>
  
  <p>In the above code, I controlled initialization using pre processor directives. Is there anyway I can do this conditional compilation without using pre processor directives?</p>