title: In C check to see if an int exists?
body: <p>I have a 13x13 array with elements but not every element is number. If its not a number, then its filled with blank space so I am trying to figure out how to check to see if a number exists at a given index. If a number exists, it does a job if not, it goes back to the loop. This is what I have:  </p>
  
  <pre><code>    int *spaceCheck;  
      int i, Value;  
      for(i=0;i&lt;169;i++){  
         spaceCheck = &amp;Array[i];       
         if(!spaceCheck){  
            continue;
         else
            //do this job
      }
  </code></pre>
  
  <p>Can I do this? Is there any other better way to check? Thank you for you help. </p>
  
  <p>Its an array of integers of 169 elements. So when the data(numbers) is initially loaded, there are only 80 elements loaded from the file into the array. The rest of the space in the array is filled with blank space (printf("    ")). Sorry for the confusion.</p>