title: Rewriting a piece of C code without conditional statements or operators?
body: <p>I was in a technical interview where the interviewer gave me a piece of code like this</p>
  
  <pre><code>  int a=1;
    a++;
    ...something..
    ...something.
    if(a==25)
     a=0;
  </code></pre>
  
  <p>he said me to rewrite this code without using switch,if else or ternary operator for the if condition. How it can be done?</p>