In this video I go through the solution to exercise 1-19 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 reverses input lines using a reverse function. 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-19: Write a function reverse(s) that reverses the character string s. Use it to write a program that reverses its input a line at a time.
1-19 0: 52
Download
0 formats
No download links available.
The C Programming Language K&R: 1-19 Solution | NatokHD