10th Jul 2022, 6:05 AM
Learning
1 Answer
+ 1
C, boolean is known as bool data type. To use boolean, a header file stdbool. h must be included to use bool in C #include <stdio.h> #include<stdbool.h> int main() { bool b = true; char c = 'A'; printf(" bool + char : %c ", b+c); c=b+c; return 0; }
10th Jul 2022, 6:26 AM
Mihir Lalwani
Mihir Lalwani - avatar