C Programming Cookbook
Over 40 recipes exploring data structures, pointers, interprocess communication, and database in C
Language - English
Updated on Oct, 2020
About the Book
Book description
A comprehensive guide with curated recipes to help you gain a deeper understanding of modern C.
Key Features
- Learn how to make your applications swift and robust by leveraging powerful features of C
- Understand the workings of arrays, strings, functions, and more down to how they operate in memory
- Master process synchronization during multi-tasking and server-client process communication
Book Description
C is a high-level language that's popular among developers. It enables you to write drivers for different devices, access machine-level hardware, apply dynamic memory allocation, and much more. With self-contained tutorials, known as recipes, this book will guide you in dealing with C and its idiosyncrasies and help you benefit from its latest features.
Beginning with common tasks, each recipe addresses a specific problem followed by explaining the solution to get you acquainted with what goes on under the hood. You will explore core concepts of the programming language, including how to work with strings, pointers, and single and multi-dimensional arrays. You will also learn how to break a large application into small modules by creating functions, handling files, and using a database. Finally, the book will take you through advanced concepts such as concurrency and interprocess communication.
By the end of this book, you’ll have a clear understanding and deeper knowledge of C programming, which will help you become a better developer.
What you will learn
- Manipulate single and multi-dimensional arrays
- Perform complex operations on strings
- Understand how to use pointers and memory optimally
- Discover how to use arrays, functions, and strings to make large applications
- Implement multitasking using threads and process synchronization
- Establish communication between two or more processes using different techniques
- Store simple text in files and store data in a database
Who this book is for
If you’re a programmer with basic experience in C and want to leverage its features through modern programming practices, then this book is for you.

eBook Preview
Author Details

Packt Publishing
Founded in 2004 in Birmingham, UK, Packt's mission is to help the world put software to work in new ways, through the delivery of effective learning and information services to IT professionals.
Working towards that vision, we have published over 6,500 books and videos so far, providing IT professionals with the actionable knowledge they need to get the job done - whether that's specific learning on an emerging technology or optimizing key skills in more established tools.
As part of our mission, we have also awarded over $1,000,000 through our Open Source Project Royalty scheme, helping numerous projects become household names along the way.
Our students work
with the Best


































Related eBooks
Annual Membership
Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses
Subscribe now
Online Certifications
Master prominent technologies at full length and become a valued certified professional.
Explore Now