About char ,int data type range

Discussion in 'C Programming' started by prati, Aug 18, 2012.

  1. prati

    prati

    Joined:
    Aug 2, 2012
    Messages:
    7
    Why range of signed char is -128 to 127 not -127 to 128?and for signed int also why it is -32768 to 32767 not -32767 to 32768?
    prati, Aug 18, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. luna
    Replies:
    1
    Views:
    6,799
  2. Schnoffos
    Replies:
    2
    Views:
    1,193
    Martien Verbruggen
    Jun 27, 2003
  3. trey

    newbie: char* int and char *int

    trey, Sep 10, 2003, in forum: C Programming
    Replies:
    7
    Views:
    393
    Irrwahn Grausewitz
    Sep 10, 2003
  4. Hal Styli
    Replies:
    14
    Views:
    1,608
    Old Wolf
    Jan 20, 2004
  5. lovecreatesbeauty
    Replies:
    1
    Views:
    1,002
    Ian Collins
    May 9, 2006
Loading...

Share This Page