hello,
I am new in C and have one question:
1ul<<7
what does ul mean here?
i can understand 1<<7, but can't find explanation on 1ul<<7
thank you
hello,
I am new in C and have one question:
1ul<<7
what does ul mean here?
i can understand 1<<7, but can't find explanation on 1ul<<7
thank you
Unsigned long. It still has a value of 1, it just tells the compiler to treat it like an unsigned long instead of, say, a signed int or a long long or whatever. Take a look here for a description of integer literal suffixes.