If you want to print the value of a bool you can either print it as an int where it will print as 0 for false and 1 for true, or you can print it as a string.
Code:// as int printf("bool: %d\n", (int)bool_value); // as string printf("bool: %s\n", bool_value ? "true" : "false");