title: Determine if int is not 0 with no if statements
body: <p>The title is a little misleading, but I don't know what else to call it. I have an array consisting of 2  values:
  <code>int array [2];</code></p>
  
  <p>One of the values will contain 0 and the other value won't contain 0. Without the use of an if statement and most preferably, no boolean expressions, I want to determine if <code>array[0];</code> contains a 0 or not. If it doesn't contain 0, it should return 1, otherwise it should return 0. </p>
  
  <p>I have tried dividing the first value by itself but a Division By Zero error can occur, and I have no other alternatives to my problem.</p>
  
  <p>The format I am aiming for is like this:</p>
  
  <p><code>array[check if zero index is 0];</code></p>
  
  <p>EDIT: Examples of this are:</p>
  
  <pre><code>array[0] = 20; 
  array[1] = 0;
  array[check if zero index is 0]; // index is 1
  
  array[0] = 0; 
  array[1] = 73;
  array[check if zero index is 0]; // index is 0;
  </code></pre>