If i write a program like this
The answer reads -56. How does this come?Code:int main(int argc, char const *argv[]) { unsigned char value=200; printf ("%d",(signed char)value); return 0; }
suppose if i do
It reads a big value. I am not understanding the basics of this. Please help.Code:int main(int argc, char const *argv[]) { unsigned char value=200; printf ("%u",(signed char)value); return 0; }