BITWISE Challenge yet another solution

[code]int main(int argc, const char * argv[]) {

uint64_t n = 0; //long long int "typedef"
for (int i = 0; i < 64; i++) {
    n = n << 2; // using BITWISE LEFT-SHIFT operation
    n++;
}

printf("number is %lld\n", n);

}[/code]

Hi,

Your solution is really similar to mine, just slightly syntactically different!

[code]int main(int argc, const char * argv[]) {

uint64_t number = 1;

for (int i = 0; i<64; i++) {
    uint64_t newNumber = number << 2;
    number = newNumber + 1;
    }

printf("Hex:%llx Dec:%llu", number, number);

return 0;

}[/code]