how character can be signed and unsigned ???
why signed short int is not the error and double float is error ??
How character can be signed and unsigned
hi anuj
signed character are used to store some -ve value don’t thinks its of -A or -a
as in computer all thing are stored in the form of number
signed -127 127 unsigned 0 255
for 2nd question
this is the compiler predefined terms
so there is not a proper reason why it has done float is always signed and for int we have to option either only positive or both
signed short int has 3 modifier and double float has 2 modifier even than 1st runs successfully but double float fails ???
double and float are 2 diff datatype
Hi anuj
Signed and Unsigned are imp. only when doing math on chars for eg.
char a = (char)42;
char b = (char)120;
char c = a + b;
Depending on the signedness of the char, c could be one of two values. If char’s are unsigned then c will be (char)162. If they are signed then it will an overflow case as the max value for a signed char is 128.
Reply if resolved 
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.