Re: int-to-char conversion

Discussion in 'C Programming' started by Wolfgang Jeltsch, Jul 27, 2003.

  1. Wolfgang Jeltsch wrote:

    > Hello,
    >
    > if I convert ints in the range 128 .. 255 to char and char is signed, are
    > these ints then converted to the values -128 .. -1?
    >
    > Wolfgang


    And is there a different behaviour for C++?

    Wolfgang
    Wolfgang Jeltsch, Jul 27, 2003
    #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. Schnoffos
    Replies:
    2
    Views:
    1,198
    Martien Verbruggen
    Jun 27, 2003
  2. trey

    newbie: char* int and char *int

    trey, Sep 10, 2003, in forum: C Programming
    Replies:
    7
    Views:
    397
    Irrwahn Grausewitz
    Sep 10, 2003
  3. Hal Styli
    Replies:
    14
    Views:
    1,615
    Old Wolf
    Jan 20, 2004
  4. lovecreatesbeauty
    Replies:
    1
    Views:
    1,015
    Ian Collins
    May 9, 2006
  5. gert
    Replies:
    20
    Views:
    1,143
Loading...

Share This Page