strcmp() never returns a char, it always returns a signed integer.
(specifically and int). Whether the compiler generates the exact same parse
tree depends on the compiler and lexer.
tom r wrote:
> I just recently read a C FAQ that points out that if the right template is in
> scope, so that the compiler knows that strcmp returns a char* they are not
> merely equivalent but REALLY exactly the same. Same parse tree is generated,
> everything. There are some interesting subtlties with if(!expr) and if(expr
> == 0) in a pointer context.
--
Jerry Feldman <[EMAIL PROTECTED]>
Boston Linux and Unix user group
http://www.blu.org
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************