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...
Type: Posts; User: fenilshah03
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...
hi,
We use %d to print int values and %c to print char values..like this how can we print unsigned char values???
Thanx.
ok
Now i can understand that char can have integer value stored in it..
thanx
To Subsonics,
which value are you telling me to print?
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???...