current position:Home>Why is there bool in C language?

Why is there bool in C language?

2022-01-27 00:35:39 CSDN Q & A

Why? C There is rice in the language bool ? But in Power button It can be used inside ?




Refer to the answer 1:

Guess is defined by macro in the force buckle , such as :

#define bool int#define true 1#define false 0



Refer to the answer 2:



Refer to the answer 3:

boolean




Refer to the answer 4:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/01/202201270035372574.html

Random recommended