>pretty sure K&R C is a subset of ANSI C,
Not so, AFAICT. For one thing, K&R function declarations looked like this:
int main(argc, argv)
int argc, char **argv
{
...
}
Ever wonder where 1TBS came from?Also, in K&R, function prototypes didn't list args.