Top

Discussion

What is the numerical range of a char?

  • A.-128 to 127
  • B.-(215) to (215) - 1
  • C.0 to 32767
  • D.0 to 65535

Answer: D

char is really a 16-bit integer behind the scenes, so it supports 216 (from 0 to 65535) values.

No comment is present. Be the first to comment.
Loading…

Post your comment