Path: utzoo!mnetor!tmsoft!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!gvlf3.gvl.unisys.com!tredysvr!paul From: paul@tredysvr.Tredydev.Unisys.COM (Paul Siu) Newsgroups: comp.lang.c Subject: The use of unsigned int Keywords: unsigned int, C Message-ID: <1255@tredysvr.Tredydev.Unisys.COM> Date: 8 Feb 91 18:18:29 GMT Organization: Unisys Corporation, Tredyffrin, PA Lines: 10 The most commonly use, and commonly returned type in C is probably int. In some cases, wouldn't it be more appropriate if unsigned int was used instead, such as when you are indexing an array, or returning a length? I heard that int is usually declared as the most efficent type in C, would using unsigned int cause any problems such as slow things down or cause type-conversation problems? Paul Siu paul@tredysvr.tredydev.unisys.com