C Programming Step by Step - Complete Tutorial For Beginners
4.2 (1,986 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
11,938 students enrolled

C Programming Step by Step - Complete Tutorial For Beginners

C language tutorial from basics with C operator,loop,array,pointer,function,parameter,string,recursion,structure,file.
4.2 (1,986 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
11,938 students enrolled
Created by Shibaji Paul
Last updated 6/2020
English
English [Auto]
Current price: $129.99 Original price: $199.99 Discount: 35% off
13 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 17.5 hours on-demand video
  • 2 articles
  • 2 downloadable resources
  • 14 coding exercises
  • Full lifetime access
  • Access on mobile and TV
  • Assignments
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • if else statements, loop - while, for and do while loop with many examples.
  • Array - 1D and 2D, why we need them and how to use them effectively.
  • String in C - NULL terminated character arrays.
  • Writing function, parameter passing to function. Returning value from function.
  • storage class - auto, static, extern and register
  • Pointer - in depth understanding.
  • Relationship between arrays and pointers.
  • Array of pointers.
  • Command line arguments
  • Reading and writing with files, both text and binary.
  • Recursion - how it works, recursion vs iteration in depth discussion - Towers of Hanoi
  • Various string utilities - sprintf, strtok and many others
  • Function pointers
  • bitwise operators in C programming.
Course content
Expand all 153 lectures 17:19:31
+ Introduction and guidance to follow the course.
4 lectures 17:44
A note on screen resolution.
00:09
Course dash-board, Q/A section, basic guidance to follow the course.
08:10
How to do the coding exercises, please watch.
07:21
+ How to download, install and use compilers and various IDEs for C programming.
10 lectures 01:22:42
A brief note on IDE and Compiler
04:26

This video will guide you to download, install and use Xcode for your Mac OSX. Xcode is a powerful IDE and best choice for OSX users. It is available for free, also when you install Xcode you get the C, C++, swift and Objective-c compiler installed on your Mac as well.

Preview 06:21

In this video you will learn how to write your C program using a text editor like Sublime text and then how to compile and execute your program from the terminal of MacOS.

Compile using Mac terminal and write program on sublime text.
09:08
Using Visual Studio Code on MacOS for C program.
07:49

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
06:43

This video tutorial will demonstrate how you can download, install and use Code::Blocks IDE for your Windows operating system along with the MinGW compiler.

Preview 10:33
Compiling from Windows terminal using gcc
07:10
Using Visual Studio Code for Windows.
12:01

This lecture will walk you through the process of downloading and installing the Visual Studio 2019 Community Edition 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.

Preview 12:41

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

Using Netbeans in Mac
05:50
+ Fundamentals that you always need to know
19 lectures 01:51:12

In this tutorial you will understand each part of the program that prints "Hello, World!" into the console.

Understanding the first program.
15:09
Just print Hello World
1 question

In this video you will learn about variables, data types and how to declare variables.

Variables and data types in C programming.
09:37

This video will teach you how to print content of a variable into console using printf.

Printing content of variable using printf
04:27

In this video you will learn how to read data from keyboard and assign that into a variable using the scanf function.

Reading data from keyboard into variable using scanf.
10:20
Have you understood printf and scanf?
3 questions
Arithmetical Operators in C
02:47
Do some arithmetic work
1 question
Test your skill on printf and scanf
Console I/O and Variable declarations
1 question
Dealing with characters
09:01

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
05:34
Idea of casting
04:05
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
02:32
The secret of scanf
02:16
The most neglected operator - Assignment operator
01:51
Relational operators for comparing values
04:44
Can you take this challenge?
01:43
Introduction to Logical Operator, AND operation
06:51
Logical OR operation
04:12
Logical NOT operation
04:27
Unary increment and decrement operator
10:37
Short circuit feature of AND and OR operation
04:28

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
8 lectures 51:56
"To be or not to be" - how to decide using if-else
10:56
Going further, the if-else-if structure
04:47
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.
05:30
Are you sure you can answer this? Take a look.
01:55
Ops! Not done yet, here is some more information on if-else
03:37
Print remark according to the age.
1 question
Make it smart using conditional operator, the only ternary operator in C
05:01
Nested if-else, checking leap year.
09:29

Switch case statements can be suitable alternatives to if-elseif sometime. 

Understand switch-case
10:41

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.
05:05
Quiz on While loop
2 questions
While loop - Programming Example 2
03:24
Find sum of all numbers which are divisible by 3 but not divisible by 5 up to a positive integer n.
1 question
Take a challenge on while loop, here is interesting "predict output" on while.
03:59
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
12:27
Watch the video and the have fun doing this assignment.
Pattern Printing
1 question
First do then check, do-while loop
08:14
How to break a loop early: use of 'break' keyword
03:29
The other loop utility: 'continue' keyword
02:55

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
09:12

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
Hi_Lo_Game
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
02:25
Allocating array dynamically, Example input output operations with array
04:18
A programming example using 1-D array
08:04
Try your acquired knowledge for accessing one dimensional array using loops. This simple assignment will help you to test your understanding with one dimensional array.
One dimensional array - first assignment.
1 question
This assignment will again your understanding with one dimensional array. You will try to represent a positive integer with one dimensional array in this assignment.
Second assignment on one dimensional array
1 question
Introduction to two dimensional array
11:34
2-D array programming example
08:09
In this assignment you will write a program that will print transpose of a Matrix, you will use 2 Dimensional array for the purpose.
Print transpose of a matrix.
1 question
You will use 2 dimension array to generate a magic square for odd dimension using a given algorithm. Find the attached PDF file for all details.
Generate Magic Square
1 question

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

Are you comfortable with 1-D arrays?
5 questions

In this quiz you will get questions on 2 dimensional arrays that will help you to judge your foundation on 2-D arrays, good luck!

Test your understanding with 2 Dimensional 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
07:15
How to input string from keyboard
07:06
Finding the length of string
05:40
Searching and counting target in string
04:51
Library function for string operations, string.h
06:30
This assignment will require understanding of string, nested loops and arrays.
Find longest word in a string
1 question
A palindrome is a string that reads same both in forward and backward direction. Example: Madam, or "Cigar? Toss it in a can. It is so tragic." You will write a program to test if a given string is a palindrome or not.
Check if a string is a Palindrome or not.
1 question
count frequency of digits in a string.
1 question

This quiz will test your understanding on string or NULL terminated character arrays.

Quiz on string (NULL terminated character array)
6 questions
+ Modularise your program using function.
6 lectures 59:56
Introduction to function
10:32
Prototype or signature of function, declaring a function.
06:41
Write a simple function.
1 question
Quiz on Function preliminaries
3 questions
Create your own library, distribute functions to others.
13:46
Function example 1, a function to check prime number
09:29
Another example, a function to test Armstrong Number
13:30
Write a function to to check a character.
1 question
Develop a function to find the area of a rectangle.
1 question
Find sum of all prime numbers upto n.
1 question

Will test your understanding with function

Quiz on function
5 questions
+ Rock-Paper-Scissor game - a modularise approach
2 lectures 20:53

Let's write a program to simulate a simple Rock-Paper-Scissor game where one player would be the user and the other is the computer.

Rock-Paper-Scissor game - Part 1
07:07

Rock paper scissor game continues...

Rock-Paper-Scissor game - Part 2
13:46
+ Recursion, how to write recursive functions.
8 lectures 57:44
Introduction to recursion.
07:59
Introduction continues...
06:53
Recursion vs Iteration, the big debate, Concept of TAIL recursion.
07:17
The debate continues... when exactly iteration is preferable.
09:20
Still in debate... when recursion is preferable.
09:29
Tower of Hanoi, the classical example of recursion.
06:21
Implementation of Tower of Hanoi
07:08
Another example, Fibonacci term.
03:17

This quiz will help you to test your acquired knowledge on recursion. Good luck!

Test your knowledge on recursion.
5 questions
Requirements
  • No prerequisites, course is for absolute beginners.
Description

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 this course is for:
  • 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