Why is the command line arguments count variable (traditionally argc) an int instead of an unsigned int? Is there a technical reason for t
I see how it might seem weird: argc should not be negative! But look at it this way: both int and unsigned int cover the range of values you'd accept (if you have 2^31 command line parameters, you have a problem) and int is shorter to type.
Interview puzzle question: how many keyboards would have been used up typing the unsigned if C had gone with unsigned int argc?