C program to perform the boolean operations
Algorithm
kw.c
Output
kodingwindow@kw:~$ gcc kw.c
kodingwindow@kw:~$ ./a.out ——————————————————————————————————————————— Program to perform boolean operations ——————————————————————————————————————————— Value of a | 0 Value of b | 1 Value of 0 | 1 | 1 Value of 0 & 1 | 0 Value of 0 ^ 1 | 1 Value of 0|| 1 | 1 Value of 0&& 1 | 0 ——————————————————————————————————————————— kodingwindow@kw:~$
What Next?
C program to perform the relational operations
C program to perform the arithmetic operations by accepting the inputs
C program to calculate the area and circumference of a circle
Advertisement