>>When the type specifier is missing for variable "register i", what's the
>>default type assumed in C?
int redian(int Max)
{
register i;
for (i = 1; i <= Max; i++)
...
}
The type defaults to int in C89, in C99 it is an error.
That could be a way of getting rid of size_t. Default to a size_t in C 2007.
Why would you want to make that a default type? Why not something
more useful, say, a function pointer? Or an array of 3 doubles?
In any case, it's preferable to explicitly state the type, as
otherwise you have silent breakage if the code is compiled with an
older version of C.