Exercises from the book "The C Programming Language" by Brian Kernighan and Dennis Ritchie

Google bard told me following:
Yes, there is a website called Exercism that has K&R exercises in the form of leetcode, where they are autotested. Exercism is a free, open-source platform for learning programming languages through guided exercises. It has a large community of contributors who maintain the exercises and provide feedback to users.

To get started with Exercism, you will need to create an account and choose the programming language that you want to learn. Once you have chosen a language, you will be able to see a list of all of the exercises that are available for that language.

The K&R exercises on Exercism are divided into two sections: “Basic” and “Advanced.” The Basic section covers the basics of the C language, such as variables, functions, and arrays. The Advanced section covers more advanced topics, such as pointers, structures, and unions.

Each exercise on Exercism comes with a clear description of the problem that you need to solve and a set of tests that you need to pass in order to complete the exercise. The tests are autotested, so you can get immediate feedback on your code.

In addition to the autotests, each exercise on Exercism also has a discussion forum where you can ask questions and get help from other users. The Exercism community is very active and helpful, so you can be sure that you will get the help that you need if you get stuck.

Here are some of the K&R exercises that are available on Exercism:

Chapter 1: Variables and Arithmetic Expressions
Chapter 2: Control Flow
Chapter 3: Functions
Chapter 4: Arrays
Chapter 5: Pointers
Chapter 6: Structures and Unions
Chapter 7: Input and Output
Chapter 8: Files and Directories

I highly recommend Exercism to anyone who is learning C. It is a great way to practice your skills and get feedback on your code.

Is this true and where can I find K&R exercises?

Some discussion in Discord: https://discord.com/channels/854117591135027261/1157359032760287302/1159188584759316591

For anyone coming to this in the future, the answer is, no. Bard is just making stuff up :slight_smile:

(I have no idea what a K&R exercise even is)