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.
#include <stdio.h>
#include <stdbool.h>
int main(void) {
bool intersect = true;
bool intersect1 = false;
printf(" Intersection is %d \n", intersect);
printf(" Intersection1 is %d \n", intersect1);
return 0;
}