Simple C solution
\n# Code\n\n/**\n * Note: The returned array must be malloced, assume caller calls free().\n */\nint* evenOddBit(int n, int* returnSize) {\n    *returnSize = 2;
\n# Code\n```\n/**\n * Note: The returned array must be malloced, assume caller calls free().\n */\nint* evenOddBit(int n, int* returnSize) {\n    *returnSize = 2;\n    int *ret = calloc(sizeof(int), 2);\n    for (int i = 0; i < 32 && n; ++i, n>>=1) {\n        if (n & 1)\n            ret[i % 2]++;\n    }\n\n    return ret;\n}\n```
['C']