title: Macro as a case in switch-case not working in c
body: <p>I was making a college project. I faced a problem here is a over simplified version of this problem..</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  #define h1 2
  #define h2 3
  #define h3 4
  
  const int ar[] = {h1,h2,h3};
  int main(int argc, char const *argv[]) {
    for (size_t i = 0; i &lt; 3; i++) {
      switch (i) {
        case ar[i]:
          printf("yes!!!!!!!!");
      }
    }
    return 0;
  }
  </code></pre>
  
  <p>It is showing error. I dont understand.Please explain...
  Thank you.</p>