how is size of unsigned int defined?

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Fri Dec 21 13:49:09 AEST 1984


> Does anyone know if unsigned int is defined to be the same size as
> long int, or int?

"unsigned" does not change the size of an integral type,
so	sizeof (unsigned int) == sizeof (int)	.



More information about the Comp.lang.c mailing list