EFFECTWhen another operation is used instead of = in assignment expression, the statement has no effect. Vulnerability and riskPotentially a critical problem. Example 11 class A{ 2 int foo(int); 3 }; 4 int A::foo(int k){ 5 int j = 1; 6 k = 0; 7 if(j){ 8 j > k; // EFFECT 9 return j; 10 }else{ 11 k++; 12 return k; 13 } 14 } |