bool is a datatype defined in C99.
Boolean values are used in conditionals, such as if or while
statements, to conditionally perform logic or repeat execution. When
evaluating a conditional statement, the value 0 is considered
“false”, while any other value is considered “true”. Because NULL
...