Hackr.io is a community to find and share the best online courses & tutorials. Join them, it only takes 30 seconds.

Here's how it works:


Anybody can submit a course or a tutorial


Community upvotes the useful tutorials


The best tutorials rise to the top

C Programming For Beginners (udemy.com)

Visit Tutorial
My Courses
Paid Video Beginner
Top Three Medal #2 out of total 29 C tutorials & courses

Why developers like this tutorial (one-liner reviews):

Content quality

Course Pace

Video quality

Qualified Instructor

Course depth and Coverage

Add your one-liner review here:

Tutorial Info

Self Paced
6 hours on-demand video
Available On Completion
Taught by:
Submitted by:
Visit Tutorial

Tutorial Details

What you'll learn

  • Master C programming concepts from the ground up
  • Use the source code examples to learn step-by-step
  • Understand the special features of C: pointers, header files, null-terminated strings, buffers, IO
  • Videos explain everything in minute detail
  • Read the supplied eBook, The Little Book Of C, to explore the topics in even more depth
  • Test your understanding with end-of-section quizzes


  • A C compiler and code editor (both are available free)



The fastest, easiest way to learn to program C on a Mac or Windows. This course will teach you to program the C language from the ground up. You will learn everything from the very fundamentals of programming right through to the complexities of pointers, addresses and File IO. Maybe you've tried to master C before but failed. Or maybe you are new to C or new to programming. If so, this is the course for you!

C is one of the most important of all programming languages. It is used to program desktop applications, compilers, tools and utilities and even hardware devices. The C language is fast and efficient – but it can be hard to learn. Unless you use this course. This course begins with a gentle introduction to C but quickly moves on to explain some of its most confusing features: everything from C's 'scoping' rules to the curious connection between arrays and memory addresses. By the end of the course you will have a deep understanding both of the C language itself and also of the underlying 'architecture' of your computer.

What you will learn:

  • The fundamentals of programming – from the ground up
  • How to program on a Mac or on Windows
  • The nitty-gritty details of the C language
  • Advanced topics such as memory allocation, the stack and heap, and binary file IO

Who should take the course

  • Beginners – if you've never coded before, you can learn C step by step
  • Programmers switching to C from some other language such as Java, Ruby or Python
  • Cross-platform developers – there are C compilers for all major operating systems
  • Anyone who needs to program C++ or Objective-C. The C language is the place to start
Who is the target audience?
  • Newcomers to programming
  • Programmers of other languages who want a fast way into C
  • Anyone who needs to master C as a basis for using C++ or Objective-C


Getting Ready

Welcome to the course

C Editors and IDEs

FAQ - Read This First!

Install CodeLite (Windows or Mac)

Install a C compiler on a Mac

Introduction to CodeLite

Using C++Builder

Importing C Projects into C++Builder

Programming C with NetBeans

Importing Projects Into NetBeans

Compiling C programs at the system prompt

Using Visual Studio

The Little Book Of C -- (download)

C Source Code Archive

C Basics

C programming basics

A first program - Hello world

Arguments and return values

Passing commandline arguments to your program

How to open a command prompt on Windows or OS X



C Programs

Variables, constants and types

Variables and types

Integers and floating point numbers


More about constants

Naming conventions

Variables and constants

Operators, tests and user input

Operators – equality and assignment

Operators – tests and comparisons

Compound assignment operators

Increment and decrement operators

if and else tests

Problems with gets() and fgets()

Input, buffers and flushing

My own line-reading function

Logical Operators

Operators and tests

Functions, arguments and switch



Switch statements

Switch statements in more detail

Functions and switch

Arrays, loops and break


Initializing arrays

‘while’ loops

‘do..while’ loops


break and continue

Multidimensional arrays

Arrays and loops

Strings, chars and pointers

Strings, pointers and addresses

Null-terminated strings

Char arrays and pointers

Arrays, pointers and assignment

Strings and functions, stack and heap

String functions

char functions

chars and strings

Pointers and Strings

Structs, enums, header files and scope




Header files

A custom header file


Scope and external files

Static functions and variables

Compiling from the commandline

Structs, enums, headers and scope


Opening and closing files

File modes

Reading and writing a text file

Counting lines in a text file

Search in a text file


Binary files and memory allocation

Binary files

Allocating and freeing memory

Types and type casts

Creating a CD database

Saving and loading records in a binary file

Adding records to a binary file

Modifying records in a binary file

Memory and pointers

And finally…

Discuss this tutorial:

Ask a question or write your feedback/review of this course or tell anything to the people taking this course.

Sagrika Das
1 year ago

What will be challenges being a new programming learner

Varun #
1 year ago

@sagrika-das You will have lots of syntax error. You will be frustrated and want to give up. But, don't do that. Practice makes a man perfect. Strive until you get the output. You cannot control the joy after getting the desired result. You will think that you had done a great job because you have worked hard for it. Keep learning because the day you stops learning is the day you stop growing. Happy Coding!

Sunil Kumar
1 month ago


Anthony Estorpe
1 year ago

im eager to learn but i dont know where to start

Saurabh Hooda
1 year ago

@anthony-estorpe Start this course or any other that you like & begin learning. What's stopping you?

Saar Jochum
5 months ago

@saurabh-hooda @anthony-estorpe the 150 euro price tag

Saurabh Hooda
5 months ago

@saar-jochum valid point, Saar. There are several great free courses options as well on our C tutorials page, please have a look at those. Also, udemy coupons are very easy to find on the internet so you might find coupons offering up to 80-90% discount.

More C Tutorials