C++ || SIMPLE AND EASY || BIT MANIPULATION
\nclass Solution {\npublic:\n    vector<int> evenOddBit(int n) {\n        int count=0;\n        int evn=0;\n        int odd=0;\n        while(n)\n        {\n   
```\nclass Solution {\npublic:\n    vector<int> evenOddBit(int n) {\n        int count=0;\n        int evn=0;\n        int odd=0;\n        while(n)\n        {\n            \n            if(n&1==1)\n            {\n                if(count%2==0)evn++;\n                else odd++;\n            }\n                \n                \n            count++;\n            n=n>>1;\n        }\n        return {evn,odd};\n    }\n};\n```
['Bit Manipulation']