Showing posts with label ANSI. Show all posts
Showing posts with label ANSI. Show all posts
Wednesday, 23 November 2011
How can you determine the maximum value that a numeric variable can hold?
The easiest way to find out how large or small a number that a particular type can hold is to use the values defined in the ANSI standard header file limits.h. This file contains many useful constants defining the values that can be held by various types, including these:

For integral types, on a machine that uses two’s complement
Subscribe to:
Posts (Atom)