In this case I am trying to figure out in code of the largest possible value of an unsigned long int. The problem is that if I just do the math 2^(whatever) i am bound to exceed the size of the value and as such can not return it. Also, is that the larges possible int value?
What I really want to do is just set all the bits to 1 and print that but I don't know how to go in at that level. Also, would %d work for printing a Unsigned Long int or do I use something else like %lo
Thanks for any help!