View Single Post
  #3 (permalink)  
Old 03-12-2008, 05:59 PM
dcs dcs is offline
Programming Expert
 
Join Date: Mar 2008
Posts: 371
Credits: 0
Rep Power: 7
dcs has a spectacular aura aboutdcs has a spectacular aura about
Default Re: Range Of Char Variable

The range of char is from CHAR_MIN to CHAR_MAX. The number of bits in a byte (I'm using it interchangeably with char) is CHAR_BIT. These values are found in <limits.h>/<climits>.
Reply With Quote