how to get maximum value for integer? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

how to get maximum value for integer?

sid_kkrsid_kkr Posts: 20Member
How can i figure out what value an integer can have at maximum,
during runtime?

Comments

  • MT2002MT2002 Posts: 1,444Member
    : How can i figure out what value an integer can have at maximum,
    : during runtime?
    :
    [blue]
    Check out ..[/blue][code]
    #include

    int foo = INT_MAX;
    unsigned int ufoo = UINT_MAX;[/code]
Sign In or Register to comment.