✔Sum of Two Integers in C++  || Easiest Approach || Interview Approach
\nclass Solution {\npublic:\n    int getSum(int a, int b) {\n        while(b!=0){\n            unsigned carry=a&b;\n            a=a^b;\n            b=carry<<1;\
```\nclass Solution {\npublic:\n    int getSum(int a, int b) {\n        while(b!=0){\n            unsigned carry=a&b;\n            a=a^b;\n            b=carry<<1;\n        }\n        return a;\n    }\n    \n};\n```\n\n*If you like the code, do give an upvote!*
['C']