SyntaxFix
Write A Post
Hire A Developer
Questions
Take a look at limits.h. You can find the specific values for your compiler. INT_MIN and INT_MAX will be of interest.