on-internet
← Community

Best Algorithm to calculate maximum value of unsigned int without limits.h

Stack Overflow ·

Is there a way to calculate the maximum value representable by unsigned int without using limits.h (so no UINT_MAX) or without using unsigned int z = 0; z = z - 1;

Comments

Sign in or sign up to comment and upvote.

No comments yet.