Logiczny typ danych<ref>[[w:Logiczny typ danych|Logiczny typ danych w Wikipedii]]</ref> ( ang. Boolean data type ) składa się z dokładnie dwóch elementów: prawdy (ang. true, 1, +) i fałszu (ang. false, 0, -).
Typ bool możemy używać na 4 sposoby : <ref>[http://stackoverflow.com/questions/1921539/using-boolean-values-in-c Stackoverflow : Using boolean values in C]</ref>
* w C99 ( nie w C90 <ref>[http://stackoverflow.com/questions/1608318/is-bool-a-native-c-type Stackoverflow : Is bool a native C type?]</ref>) poprzez dodanie dyrektywy #include <stdbool.h>