[C] c solution
avoid  oom\n\nint getSum(int a, int b) {\n    int c = 0;\n    while(b != 0){\n        c = (((a & b) & 0xffffffff)<<1) ;\n        a ^= b;\n        b = c;\n    }\
avoid  oom\n```\nint getSum(int a, int b) {\n    int c = 0;\n    while(b != 0){\n        c = (((a & b) & 0xffffffff)<<1) ;\n        a ^= b;\n        b = c;\n    }\n    return a;\n}\n```
[]