Int is an integer.
First, 1 written by bool is true and 0 is false, which is easy to identify.
Secondly, bool takes up very little byte space, which saves a lot of space compared with int.
Then came the Boolean type. I remember it was newly added in the c99 standard, but it will also be used.