Skip to content
KnowledgeCity

Programming with C Beginner

Learn the fundamentals of the C programming language to prepare for more advanced programming techniques
Preview the first lesson free — get full access to all 25 lessons.
Course: On-Demand
Beginner Provider Mike McMillan  8 chapters ·  25 Lessons ·  1h 54m  in Arabic, German, English, Spanish, French, Portuguese, Chinese 

Course Description

The C programming language is a foundational programming language that many other, more modern programming languages are based upon. C++, Java, C#, and JavaScript are just a few of the programming languages that have C-level syntax at their core.

As with any other programming language, the key to mastering C is to first learn how to get data into and out of C programs, and then how to store data in variables and what types of data C allows. After this, we’ll cover how to perform various operations, such as changing variable values and executing arithmetic. From there, you’ll learn how to make decisions using if statements that allow C programs to execute differently depending on the data being evaluated. Next, we’ll cover how to execute programming statements repeatedly using three common loop types: the for loop, the while loop, and the do while loop. The course ends with a demonstration of how functions make C programs easier to understand and easier to debug.

What You'll Learn

  • Download, install, and use the Code::Blocks compiler to write C programs
  • Perform input and output in C to get data into and out of programs
  • Recognize and use C data types including numeric, char/string, and Boolean types
  • Declare and assign values to variables and constants and write arithmetic statements
  • Apply decision control structures such as if, if-else, if-else if, and switch statements
  • Use repetition control structures including for, while, do-while, and nested for loops, and create and use functions

Key Takeaways

  • C is a foundational programming language that many modern languages, including C++, Java, C#, and JavaScript, base their C-level syntax upon.
  • Mastering C starts with learning how to get data into and out of programs, then storing data in variables and understanding the data types C allows.
  • C programs can make decisions using if statements so they execute differently depending on the data being evaluated.
  • C supports three common loop types for executing statements repeatedly: the for loop, the while loop, and the do-while loop.
  • Functions make C programs easier to understand and easier to debug.

Frequently Asked Questions

Who is this course for?

It is a beginner-level course (Programming with C Beginner) for learners starting out with the C programming language, covering fundamentals from input/output through functions.

What will I learn in this course?

You will learn to download and use the Code::Blocks compiler, write simple-but-nontrivial programs, recognize a variety of data types, create and use functions, and use decision and repetition control structures.

What compiler does this course use?

The course covers downloading and using the Code::Blocks compiler.

What control structures does the course cover?

It covers decision structures (simple if, if-else, if-else if, and switch statements) and repetition structures (for, while, do-while, and nested for loops).

What skills will I gain from this course?

The course builds skills in C (Programming Language), C Data Types, C-Based Programming Languages, C# Fundamentals, C++ Fundamentals, and Modular Programming in C.