From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2005-04-01 14:05:14
On Fri, Apr 01, 2005 at 01:27:13PM +0200, Spiro Trikaliotis wrote: > I do. A char must have enough bits to hold all characters of the base > charset of the system, and > > 1 == sizeof(char) <= sizeof(short) <= sizeof(int) <= sizeof(long) > > is required. An additional requirement is that shorts and ints do have at least 16 bits, longs do have at least 32 bits (and a long long has at least 64 bit). > But it's hard with pre-ANSI, C89, C90, the C++ variants which are very > similar, to always keep up with the correct standard. ;-) There is only one C standard, the one called C99. > BTW: I did not fail your test, did I? Where can I get my diploma? ;-) Sorry, but you forgot to send me the examination fee prior to answering the questions:-) Regards Uz -- Ullrich von Bassewitz uz@musoftware.de Message was sent through the cbm-hackers mailing list
Archive generated by hypermail pre-2.1.8.