Author: Dieter Buerssner
Date: 16:19:58 07/04/02
Go up one level in this thread
On July 04, 2002 at 19:04:19, Dieter Buerssner wrote: >On July 04, 2002 at 04:14:00, Sune Fischer wrote: > >>I'm curious, is 0xff then used as an 4 byte integer and not as a char? > >Your question cannot be answered for Standard C - it can only be answered for >specific implementations. Sorry, this was misleading. The "byte part" of your question cannot be answered in general, the char part can. 0xff (or 0xf) or any integer constant will never have type char. Internally the compiler may "optimize" it to a char, when he knows, that the result will be the same, as if he used type int. Regards, Dieter
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.