Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Learning C

via LinkedIn Learning

Overview

Get a quick introduction to the vocabulary and basics of programming in C, the language that inspired C++, Objective-C, and many others.

Syllabus

Introduction
  • Programming foundations in C
1. Hello World
  • Understanding the process
  • Obtaining a compiler and IDE
  • Compiling a sample program
  • Reviewing the C language
2. The Basics
  • Introducing C code
  • Sending text to output
  • Challenge: Add a puts() statement
  • Solution: Add a puts() statement
  • Adding comments to the code
  • Exploring the printf() function
  • Challenge: Add a new line
  • Solution: Add a new line
  • Working with escape sequences
  • Challenge: Use escape sequences
  • Solution: Use escape sequences
  • Working with values and placeholders
  • Introducing variables
  • Experimenting with variables
  • Using character I/O
  • Exploring the scanf() function
  • Working with strings
  • Understanding arithmetic in C
  • Doing math
  • Making more calculations
  • Challenge: Math quiz
  • Solution: Math quiz
3. Flow Control
  • Making a decision with if
  • Making multiple decisions
  • Challenge: Make a decision
  • Solution: Make a decision
  • Looping with while
  • Repeating chunks of code with for
  • Challenge: Output a series of numbers
  • Solution: Output a series of numbers
  • Nested loops
  • Understanding functions
  • Adding a function
  • Passing values to a function
  • Challenge: Evaluate a number
  • Solution: Evaluate a number
  • Returning a value from a function
4. Intermediate Concepts
  • Manipulating single characters
  • Using logical operators
  • Manipulating strings
  • Challenge: Build a string
  • Solution: Build a string
  • Exploring constant expressions
  • Understanding arrays
  • Creating multidimensional arrays
  • Challenge: Add a dimension to an array
  • Solution: Add a dimension to an array
  • Understanding structures
5. Advanced Concepts
  • Exploring variables
  • Understanding pointers
  • Using pointers
  • Challenge: Create a char pointer
  • Solution: Create a char pointer
  • Accessing arrays with pointers
  • Creating pointer functions
  • Working with pointer arrays
  • Allocating memory
  • Challenge: Write a Hello program
  • Solution: Write a Hello program
Conclusion
  • Continue exploring C programming

Taught by

Dan Gookin

Reviews

4.6 rating at LinkedIn Learning based on 1083 ratings

Start your review of Learning C

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.