Book

Learn C Programming

This book takes you through basic programming concepts and shows you how C is a powerful general-purpose programming language that is excellent for beginners to learn. It goes beyond ANSI C and C99 to present some of the latest features of C.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

24h44m

Language

English

About Book

Who Is This Book For?

If you're an absolute beginner who has basic familiarity with operating a computer, this book will help you learn the most fundamental concepts and practices that 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 covered in the book useful.

Book content

chapters 24h44m total length

Running Hello, world

Understanding Program Structure

Working with Basic Data Types

Using Variables and Assignments

Exploring Operators and Expressions

Exploring Conditional Program Flow

Exploring Loops and Iterations

Creating and Using Enumerations

Creating and Using Structures

Creating Custom Data Types with Typedef

Working with Arrays

Working with Multi-dimensional Arrays

Using Pointers

Understanding 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

Building Multi-File Programs with Make

Creating Two Card Programs

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