Poorly worded question (was Re: IsUnsigned() function?)
Christopher R Volpe
volpe at underdog.crd.ge.com
Tue Jul 24 02:35:57 AEST 1990
|>In article <31240 at eerie.acsu.Buffalo.EDU> chu at acsu.buffalo.edu (john c
chu) writes:
|>>Interpretation 3: technically, all numbers are 'signed' (positive or
|>>negative) except 0, so it should return a 0 for all numbers except 0
|>>for which it should return a 1. (e.g. return(num = 0))
All numbers are 'signed' except zero? Does that mean a variable
declared as "unsigned int" should hold only the value zero? May as
well use a constant. :-)
-Chris Volpe
More information about the Comp.lang.c
mailing list