C programming

Discussion in 'C Programming' started by neha_chhatre@yahoo.co.in, Oct 7, 2007.

  1. Guest

    how to convert integer to char in C
     
    , Oct 7, 2007
    #1
    1. Advertising

  2. Joe Wright Guest

    wrote:
    > how to convert integer to char in C
    >

    A char is an integer. So are int, short and long, etc. Converting values
    of one type to another is done by cast and/or assignment following
    normal conversion rules. Read your C book. K%R2 is recommended.

    --
    Joe Wright
    "Everything should be made as simple as possible, but not simpler."
    --- Albert Einstein ---
     
    Joe Wright, Oct 7, 2007
    #2
    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. James Lapalme

    Attribute programming

    James Lapalme, Jul 7, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    1,270
    James Lapalme
    Jul 7, 2003
  2. Salisha Khan
    Replies:
    1
    Views:
    11,656
    JohnFol
    Aug 1, 2003
  3. Matt
    Replies:
    35
    Views:
    10,626
    George Neuner
    Jul 22, 2004
  4. Casey Hawthorne
    Replies:
    4
    Views:
    1,010
    Jarek Zgoda
    Aug 4, 2006
  5. Joe Mayo
    Replies:
    168
    Views:
    3,322
    David Thompson
    Oct 22, 2007
Loading...

Share This Page