Editing Indentation style
Appearance
Latest revision | Your text | ||
Line 659: | Line 659: | ||
{{uncited section|date=March 2024}} |
{{uncited section|date=March 2024}} |
||
K&R style prevents another common error suffered when using the standard [[Unix]] line editor, [[Ed (text editor)|ed]]. A statement mistakenly inserted between the control statement and the opening brace of the loop block turns the body of the loop into a single trip. |
|||
Given this starting code: |
Given this starting code: |