C++ program to perform the boolean operations
kw.cpp
Output
kodingwindow@kw:~$ g++ kw.cpp
kodingwindow@kw:~$ ./a.out ——————————————————————————————————————————— Program to perform the 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 assignment operations
C++ program to perform arithmetic operations by accepting inputs from a user
Advertisement