Why is the command line arguments count variable (traditionally argc) an int instead of an unsigned int? Is there a technical reason for t
A few reasons:
unsigned keyword or unsigned integer typesint types, as this was the default.int was, in a sense, more important back then. Everything was an int. C evolved in part from a language that did not even have types. Every single varable was a word, which is what int originally was used for.UPDATE: Jason S asked for sources. I think you can dig all of this (except for "it doesn't matter") out of a paper by dmr which is on line: The Development of the C Language. You may need to look up the earlier languages BCPL and B in the usual places.