What is the order of precedence for int, float, char and bool "

what does precedence mean for a datatype . Will bool precedence will not be more than others.

The correct order is:
bool<char<int<float
It is mainly according to the size of the datatype.
bool can only take 0 or 1 as value so it is the smallest
char has 1 byte size likewise others…
Also refer this:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.