kancherla sagar
Answered On : Dec 13th, 2005
the answer is B.
the range of char is 1 Byte.
i.e 16 bits.
so the range will be 0 to 2^16-1
Login to rate this answer.
ans is 2 to the power 16 which is 65535 because char does not use msb as a sign bit. its uses all 16 bits for storing values
Login to rate this answer.
Ramesh
Answered On : Dec 19th, 2006
0 to 215-1
Login to rate this answer.
the range of char is 0 to 2^16 -1 reffer (http://java.sun.com/docs/books/tutorial/java/nutsandbolts/datatypes.html)
char range is 65535 that is equivalent to 2^16 -1 so answer c is right
Login to rate this answer.
sorry answer d is correct
Login to rate this answer.
the range of char is 0 to 2^16 -1
http://java.sun.com/docs/books/tutorial/java/nutsandbolts/datatypes.html) char range is 65535 that is equivalent to 2^16 -1 so answer B is right
Login to rate this answer.
jansi
Answered On : Feb 28th, 2012
0 to 2^15-1
Login to rate this answer.