Objectives :

  • constant data assigned to a variable that can be replaced.
  • bitwise exclusive OR operator (^) does additions of two operand like ( +) operator.
    b3 = b1^b2;
    cout<< "\n bitwise ^ " << b3;
  • The bitwise exclusive OR operator (^) compares each bit of its first operand to the corresponding bit of its second operand, and operands must be integral types.
  • code: myConstantExplained2.txt

Step: 1 Create a project


Step: 2 Create a source file

Step: 3 Edit Source file

Step: 4 Runtime Views: