Qt Code:
  1. if (a != b) {
  2. cout << "if" << endl;
  3. if (c != 0 && a_vec[c-1] == b) {
  4.  
  5. cout << "a is not longer equal to b" << endl;
  6.  
  7. }
  8.  
  9. }
  10.  
  11. else if (c == 0 || a_vec[c-1] != b) {
  12.  
  13. cout << "a is now equal to b" << endl;
  14.  
  15. }
To copy to clipboard, switch view to plain text mode 

what happens?