Update c.html.markdown

Fix presence of bool (Fixes #2854)
This commit is contained in:
Adam Bard 2017-09-12 22:43:55 -07:00 committed by GitHub
parent a5c23e8af4
commit 33d6dce8ba

View File

@ -333,7 +333,7 @@ int main (int argc, char** argv)
using "goto" in C
*/
typedef enum { false, true } bool;
// for C don't have bool as data type :(
// for C don't have bool as data type before C99 :(
bool disaster = false;
int i, j;
for(i=0;i<100;++i)