c programming style - READ THIS

David Sherman dave at lsuc.UUCP
Wed Jul 24 22:59:31 AEST 1985


In article <2439 at sun.uucp> guy at sun.uucp (Guy Harris) writes:
||	2) "++a" and "a += 1" are completely equivalent expressions.

Well, almost. On at least some systems, "a++" won't work if a is
float, while "a += 1" will add 1.0 to a.

Dave Sherman
The Law Society of Upper Canada
Toronto
-- 
{  ihnp4!utzoo  pesnta  utcs  hcr  decvax!utcsri  }  !lsuc!dave



More information about the Comp.lang.c mailing list