Search:

Type: Posts; User: fenilshah03

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    25,613

    ok.. If we declare a variable as char then its...

    ok..

    If we declare a variable as char then its range would be -128 to 127..
    but if we assign value >127 the variable accepts it and prints the corresponding character as per ASCII value..

    So...
  2. Replies
    4
    Views
    25,613

    char & unsigned char

    hi,
    We use %d to print int values and %c to print char values..like this how can we print unsigned char values???

    Thanx.
  3. Replies
    7
    Views
    4,212

    ok Now i can understand that char can have...

    ok
    Now i can understand that char can have integer value stored in it..

    thanx
  4. Replies
    7
    Views
    4,212

    To Subsonics, which value are you telling me...

    To Subsonics,

    which value are you telling me to print?
  5. Replies
    7
    Views
    4,212

    Why char is unsigned?

    Hello ,

    I read that range of the signed char in C is from -128 to 127 and for unsigned char it is 0 to 255.

    How can char be signed / unsigned. Can we define negative char???...
Results 1 to 5 of 5