title: Defining a conditional statement as a variable
body: <p>I am attempting to use a variable to store a conditional statement's result:</p>
  
  <pre><code>int age = 40;
  int validAge = age &gt; 40;
  
  if (validAge) { /* ... */ }
  </code></pre>
  
  <p>Is the above code example allowed in C? If so, what type should I set these conditional variables?</p>