Final word on sizeof

John Hascall hascall at atanasoff.cs.iastate.edu
Wed Apr 12 00:07:59 AEST 1989


   To a recent blathering on sizeof, I quote K&R, Appendix A, section 7.2,
   "Unary Operators":

       The construction  sizeof(type)  is taken to be a unit, so
       the expression  sizeof(type)-2  is the same as  (sizeof(type))-2.

John Hascall / ISU Comp Center
(am I the only one who reads this thing? :-)



More information about the Comp.lang.c mailing list