Can anyone explain me what is the difference between the _Bool and bool data type in C?
_Bool
bool
For example:
_Bool x = 1; bool y =
There is no difference.
bool is a macro that expands to _Bool in stdbool.h.
stdbool.h
And true is a macro that expands to 1 in stdbool.h
true