In this repo you can find the solutions to The C programming language. I am still working in this project, so some Exercises can´t be found.
-
Updated
Feb 6, 2021 - C
In this repo you can find the solutions to The C programming language. I am still working in this project, so some Exercises can´t be found.
Source code and solutions of exercises to The C Programming Language 2nd Edition by Brian W. Kernighan and Dennis M. Ritchie.
strindex to find pattern in string s. Section 4.1 of The C Programming Language.
Convert string s to its double precision equivalent. Section 4.2 of The C Programming Language.
Calculator program that provides the operators +, -, * and / as well as modulus %, print last result ?, duplicate last result #, swap last two results ~ and clear stack (memory) !. . It uses the reverse Polish notation. Section 4.3 of The C Programming Language.
Quicksort algorithm using the meddle element as pivot in C to sort an array of integers. Section 4.10 of The C Programming Language.
Convert n to characters in s. Section 3.6 and 4.10 of The C Programming Language.
Free-format input conversion to one integer per call. Section 5.2 of The C Programming Language.
Rudimentary storage allocator using the Stack data structure. Section 5.4 of The C Programming Language.
Solutions for all exercises int he book The C Programming Language - 2nd edition by Dennis M. Ritchie and Brian W. Kernighan
A curated list of the top books to learn C programming, carefully selected to provide a comprehensive understanding of the language. Perfect for beginners and those looking to enhance their skills, these books guide you through C programming intricacies.
Customisable, thread-safe C11 memory allocator based off the K&R "storage allocator"
Add a description, image, and links to the thecprogramminglanguage topic page so that developers can more easily learn about it.
To associate your repository with the thecprogramminglanguage topic, visit your repo's landing page and select "manage topics."