Back to Browse

The C Programming Language K&R: 1-21 Solution

303 views
Aug 19, 2024
10:39

In this video I go through the solutions to exercise 1-21 from the C Programming Language book by Brian Kernighan and Dennis Ritchie (K&R). All content is self contained and no new concepts are used that haven't been covered in the book thus far. The video goes through an implementation of the entab program. 1-21: Write the program entanb that replaces strings of blanks by the minimum number of tabs and blanks to achieve the same spacing. Use the same tab stops as for detab. When either a tab or a single blank would suffice to reach a tab stop, which should be given preference.

Download

0 formats

No download links available.

The C Programming Language K&R: 1-21 Solution | NatokHD