Back to Browse

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

202 views
Jul 27, 2024
7:57

In this video I go through the solution to exercise 1-18 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. This program removes lines in the user input with trailing spaces or tabs. It uses the get line function from the previous video solution. The get line function used is written in this video: https://youtu.be/PmBBbvuTXfs 1-18: Write a program to remove trailing blanks and tabs from each line of input, and to delete entirely blank lines. 1-18 1:01

Download

0 formats

No download links available.

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