title: C programming print bool
body: <p>This is how you print a bool. One value is set true and one is set to false. Not sure why it wouldn't print before. </p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdbool.h&gt;
  
  int main(void) {
  
      bool intersect = true;
      bool intersect1 = false;
      printf(" Intersection is %d \n", intersect);
      printf(" Intersection1 is %d \n", intersect1);
      return 0;
  }
  </code></pre>