That's not true. C++ does define an implicit conversion from bool to int:
https://en.cppreference.com/w/cpp/language/implicit_conversi... (under "Integral promotion")
And C has a boolean type as of C99.
https://en.cppreference.com/w/cpp/language/implicit_conversi... (under "Integral promotion")
And C has a boolean type as of C99.
C doesn't have booleans and treat them as integers 0 or 1, it can do the math and will always return 1.