C Programming - Complete Tutorial For Beginners
4.6 (451 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
5,701 students enrolled
Wishlisted Wishlist

Please confirm that you want to add C Programming - Complete Tutorial For Beginners to your Wishlist.

Add to Wishlist

C Programming - Complete Tutorial For Beginners

The course will teach you C language from beginner to advanced level. Will prepare you for your technical interview.
4.6 (451 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
5,701 students enrolled
Created by Shibaji Paul
Last updated 9/2017
English [Auto-generated]
Current price: $12 Original price: $95 Discount: 87% off
4 days left at this price!
30-Day Money-Back Guarantee
  • 13.5 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Assignments
  • Certificate of Completion

Training 5 or more people?

Get your team access to Udemy's top 2,000 courses anytime, anywhere.

Try Udemy for Business
What Will I Learn?
  • write C programs independently
  • face technical interviews with confidence
  • will be able to do assignments in C programs
View Curriculum
  • Download Netbeans IDE (You need to download JDK for this as well) or Codeblocks IDE, I have given video lectures how to install these in your system. Don't worry I will guide you to download and install them.
  • If you face any issue while downloading or installing necessary software, please go ahead and post it in the discussion forum, I will provide solution as soon as possible.

I have been teaching this course to the undergraduate engineering students for last 15 years in class room. This course is well designed and covered almost all the topics that one should know while learning C language. Will not only help the student to build a solid foundation on the topic but will boost their confidence to face technical interviews boldly.

The course contents are mostly video lectures. I would encourage absolute beginners to follow the lectures strictly in chronological manners, please start from the very first video and go to the next one only if you are done with the previous. However, though not recommended, but students with some previous knowledge could jump lectures if they are confident.

The course is structured basically for the new programmers who may not have any previous experience with any programming language. From the very basic to advanced topics. Simple program to complex one in step-by-step.

One should take this course to build a career as a programmer. Programming in C has been considered as foundation for any programming language. If one is confident with C, then can start learning any other language like PHP, C++ or Java.

Who is the target audience?
  • This course is A-Z on C programming language, therefore, anyone can take this course, even absolute beginners in programming will face no problem doing this course
  • Any undergraduate student having C programming in curriculum
  • If you have previous experience in C programming or with any other programming language then this course is going to make your foundation more strong
Compare to Other C Courses
Curriculum For This Course
124 Lectures
Start learning C programming
8 Lectures 50:53

This lecture will show you how to use Codeblocks under Mac, if you are using Windows and willing to use Codeblocks just see the next lecture.

How to download and install Codeblocks for Mac

This lecture will show you how to download, install and use Codeblocks IDE under your Windows machine for doing C Programs. If you want to use CodeBlocks for Mac, just see the previous lecture.

Preview 10:36

Compiling from Windows terminal using gcc

This lecture will walk you through the process of downloading and installing the Visual Studio 2017 for your Windows machine, after that you will also experience how to create a C project and build and run that under this powerful IDE.

Download, install and use Visual Studio 2017 Community edition.

This tutorial shows how to use netbeans IDE for C projects. How one can create a project, how to compile and execute.

Preview 05:51

This tutorial describes how we can write a C program in any text editor and how we can compile and execute from terminal, though I have used mac terminal but the same procedure could be followed in Linux and Windows as well.

For Windows, however, one should set path of gcc home directory, I will provide another tutorial for that as well.

Preview 07:32
Fundamentals that you always need to know
17 Lectures 01:40:05

This tutorial describes everything about the first program that prints "Hello World" into the console.

Preview 16:26

This tutorial discusses how to declare variables and how to input data into program using keyboard from standard input console.

Preview 13:14

Have you understood printf and scanf?
2 questions

#include <stdio.h>

int main() {

int var = 45;

printf("var = %d\n", var);

printf("var = %o\n", var); // prints octal equivalent of 45,

printf("var = %x\n", var); // prints hexadecimal equivalent of 45

int var1 = 056; // any numeric constant starting with 0 is octal constant

printf("var1 = %d\n", var1); // prints decimal equivalent of octal 56

printf("var1 = %o\n", var1); // prints 56

printf("var1 = %x\n", var1); // prints hexadecimal equivalent of octal constant 56

int var2 = 0xa; // any numeric constant starting with 0x is hexadecimal constant

printf("var2 = %d\n", var2); // prints decimal equivalent of hexadecimal value a

printf("var2 = %o\n", var2); // prints octal equivalent of hexadecimal a

printf("var2 = %x\n", var2); // prints a

return 0;


Initialisation of variable, octal and hex initialisation.

Arithmetical Operators in C

Test your skill on printf and scanf
Console I/O and Variable declarations
1 question

Dealing with characters

Quiz to test your skill about characters and how they are represented.

Characters - Do you know them?
3 questions

Flushing problem while taking character input

Idea of casting

You learned about data type casting in the last lecture now try this program to check your knowledge.
Assignment to test your idea about data type casting.
1 question

The secret of printf

The secret of scanf

The most neglected operator - Assignment operator

Relational operators for comparing values

Can you take this challenge?

Introduction to Logical Operator, AND operation

Logical OR operation

Logical NOT operation

Unary increment and decrement operator

Test yourself, how strong you are on the very basic things like variable declarations, operators, initialisation.

How concrete is your foundations
11 questions
Branching, taking course of action on the basis of result of condition
7 Lectures 41:15

Going further, the if-else-if structure

Simple test for if-else statement.
"Mood of Pupeta the funny creature" - Test your skill on if-else
1 question

Another programming example on if-else-if, this will help you more.

Are you sure you can answer this? Take a look.

Ops! Not done yet, here is some more information on if-else

Make it smart using conditional operator, the only ternary operator in C

Nested if-else, checking leap year.

Quiz on if-else structure. You need to take decision firmly, always, are you sure?

Decision making, how bold you are?
5 questions

Practice if-else statement with this Assignment.
Practice if-else statement
1 question
Do it again and again until satisfied, technique for iteration.
9 Lectures 55:40
Introduction to loop, while loop.

Quiz on While loop
2 questions

While loop - Programming Example 2

Take a challenge on while loop, here is interesting "predict output" on while.

Test your understanding on while loop. You will develop a program that will print a menu and will ask the user to input menu option, then it will perform the task according to the menu option.
Assignment: While loop - 1
1 question

All about smart looking for loop

Watch the video and the have fun doing this assignment.
Pattern Printing
1 question

First do then check, do-while loop

How to break a loop early: use of 'break' keyword

The other loop utility: 'continue' keyword

There is a coding exercise, hi_low_dame.c, download the file and try that. I have written all the comments there. Just read the comments and follow the instructions.

Generating random numbers, the rand() function

To check how you have understood the concept of loops.

Quiz 3. Check how you can iterate.
4 questions

Implement your knowledge on loop and rand function
1 question

Guess the sum of values of two rolled dice. The rolling will be done by the computer.
A dice game
1 question
Array: the collection
6 Lectures 43:17

Initialisation of one dimensional array

Allocating array dynamically, Example input output operations with array

A programming example using 1-D array

Introduction to two dimensional array

2-D array programming example

The purpose of the quiz is to test your acquired knowledge on 1-D arrays.

Are you comfortable with 1-D arrays?
5 questions
Way to store and manipulate string in C programming
5 Lectures 31:22
Introduction to string, using character array for storing string

How to input string from keyboard

Finding the length of string

Searching and counting target in string

Library function for string operations, string.h
Modularise your program using function.
6 Lectures 59:56
Introduction to function

Prototype or signature of function, declaring a function.

Create your own library, distribute functions to others.

Function example 1, a function to check prime number

Another example, a function to test Armstrong Number
Recursion, how to write recursive functions.
8 Lectures 57:44
Introduction to recursion.

Introduction continues...

Recursion vs Iteration, the big debate, Concept of TAIL recursion.

The debate continues... when exactly iteration is preferable.

Still in debate... when recursion is preferable.

Tower of Hanoi, the classical example of recursion.

Implementation of Tower of Hanoi

Another example, Fibonacci term.
Storage class, important conception
4 Lectures 29:43

Storage class: static

Storage class: extern

Storage class: register
Pointers, tweak with memory locations.
20 Lectures 02:18:21

Introduction to pointers

Introduction to pointers, continues...

Introduction to pointers, continues...

Address arithmetic

More on pointers

How and when to use pointers in C program

Relationship between one dimensional array and pointers

Passing one dimensional array to function

Add some more glue

The generic pointer is void pointer

Dynamic memory allocation - malloc function

Dynamic memory allocation - calloc function

Dynamic memory allocation - realloc function

Immutable property of string literals

Array of pointers - part 1

Array of pointers-part 2(Simulation of dynamic 2D array using array of pointers)
5 More Sections
About the Instructor
Shibaji Paul
4.7 Average rating
525 Reviews
8,509 Students
4 Courses
Programming Instructor with 16+ years of experience

Hi, I have been teaching computer science and programming since 2001. I did my M Tech in Computer Science and remained visiting faculty to the CSE department of Narula Institute of Technology. I have my own training institute where I provide training on various programming languages and technologies to the B Tech students on C, C++, Java, Android programming, Data structure and Algorithm, DBMS, SQL and PL/SQL.

In my class room I usually teach 100-150 students per semester on different subjects. With the udemy platform now it is possible to teach and spread my knowledge to thousands (may be more)of students across the globe, Udemy opens up vast opportunity for instructor like me and that with remuneration. I guess it's going to be a fantastic.

When I am not taking class I enjoy learning some new technologies. In my leisure time one could find me enjoying with my kids or gossiping with my beautiful wife over a container of tea. I am a "tea-totaller" (guess the meaning :) ) and hate smoking. I have a definite plan to launch an online course on topic "How to drink tea - the best way" on udemy for sure and also on "How to quit smoking - the best way".

Let's hope for the best, happy learning.