Book

Learn C Programming

This book provides an introduction to computer programming using the C programming language. It aims to educate readers new to software development, as well as help experienced developers become familiar with C syntax and idioms.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

21h32m

Language

English

About Book

Who Is This Book For?

This book is written for two very diverse audiences. If you're an absolute beginner who only has basic familiarity with operating a computer, this book will help you learn the most fundamental concepts and practices you need to know to become a successful C programmer. If you're an experienced programmer, you'll find the full range of C syntax as well as common C idioms. You can skim through the explanations and focus primarily on the source code provided.

Book content

chapters 21h32m total length

Running "Hello, World!"

Understanding Program Structure

Working with Basic Data Types

Using Variables and Assignment

Exploring Operators and Expressions

Exploring Conditional Program Flow

Exploring Loops and Iteration

Creating and Using Enumerations

Creating and Using Data Structures

Creating Custom Data Types With Typedef

Working with Arrays

Working with Multi-dimensional Arrays

Using Pointers

Understand Arrays and Pointers

Working with Strings

Creating and Using More Complex Structures

Understanding Memory Allocation and Lifetime.

Using Dynamic Memory Allocation

Exploring Formatted Output

Getting Input From the Command Line

Exploring Formatted Input

Working with files

Using File Input and File Output

Working with Multi-File Programs

Understanding Scope

Appendix

Related Resources

Access Ready-to-Use Books for Free!

Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!

No credit card required