Relative Content

Tag Archive for ckernighan-and-ritchie

Where is index i ? – K&R [duplicate]

This question already has an answer here: Is there any benefit to declaring the counter outside of the for loop body in C99? (1 answer) Closed 14 hours ago. I am reading the function on page 29 from “C programming” by K&R. In this example: int getline(char s[], int lim) { int c, i; for […]