title: Difference between += and =+ operators in C++?
body: <p>What is the difference between += and =+ operators in C++? I have seen a solution which finds the depth of the binary tree by using =+ operator.</p>
  
  <pre><code>class Solution { 
  public:
  int maxDepth(TreeNode* root) {
      int l,r;
      if(root == NULL) {
          return 0;
      }
      else {
          l =+ maxDepth(root-&gt;left);
          r =+ maxDepth(root-&gt;right);
      }
      if (l&gt;r)
      return (l+1);
      else
      return (r+1);
  }
  };
  </code></pre>