Basic C Programming

The most effective way of learning C language. This course will teach you to program using C from scratch. You will learn fundamentals, pointers, arrays, functions and File IO.

C is one of the popular programming languages. It is used to program different applications such as operating systems, desktop applications, compilers and hardware devices. The C language is very easy to learn but learning becomes very hard when did not follow a systematic approach. This course begins with an introduction to C and moves on step by step approach to complex features of C, like arrays, pointer, structures, functions, and files. By the end of the course, you will have a deep understanding of the C language.

What will you learn?

  • What is a C program and how it executes?
  • About data types and variables.
  • Operations of data and Control flow statements.
  • Arrays and Pointers.
  • Structures and Unions.
  • Functions and dynamic memory allocation.
  • File IO.

Who should take the course?

  • Are you new to programming?
  • Did you fail in programming before?
  • Do you know other programming languages, but want to switch to C?

For any of the above question, your answer is yes then this course is for you.

What are the requirements?

  • No prior programming knowledge is required.
  • A C compiler and code editor (both are available free).
  • Basic system operations.

How to follow this course?

  • Start from the beginning and understand each lesson.
  • Use the supplied source code examples.
  • Write programs to examples.
  • Practice using your own problems.
  • Ask any queries in our Q&A section for this course.
  • Take the final exam to check your knowledge of C.

What will I get?

On successful completion of the final exam, you will receive course completion certificate.

Life Time


Access the course for life time.

Gold Membership


Access all courses.


  • Introduction
    • Features of C
    • History of C
    • First C Program
    • C Compiler
    • Compiler vs Interpreter
    • Demo First C Program
    • Summary
  • Variables
    • Variables
    • printf and scanf
    • Integer Types
    • Demo Integer Types
    • Character Types
    • Demo Character Types
    • Real Types
    • Demo Real Types
    • Constants
    • Named Constants
    • Preprocessor Constants
    • Demo Constants
    • Summary
  • Operators
    • Introduction
    • Arithmetic Operators
    • Prefix and Postfix
    • Demo prefix and postfix
    • Relational Operators
    • Logical Operators
    • Bitwise Operators
    • Demo Bitwise Operators
    • Assignment Operators
    • Demo Assignment Operators
    • Misc Operators
    • Demo Misc Operators
    • Summary
  • Control Flow
    • Introduction
    • Switch
    • Demo Simple Calculator
    • if - else
    • Demo Grading of student
    • Demo nested if
    • while
    • Demo Reverse a number
    • do - while
    • Demo Salary of employees
    • for
    • Demo Factorial of a number
    • Summary
  • Pointers
    • Introduction
    • Declaration and Dereferencing
    • Demo Pointers
    • Pointers to Pointers
    • Demo Pointers to Pointers
    • Summary
  • Functions
    • Introduction
    • Functions and Execution
    • Declaration and Definition
    • Types of Functions
    • Call By Value
    • Demo Calculating Simple Interest
    • Call By Reference
    • Demo Swapping of two numbers
    • Summary
  • Storage Classes
    • Introduction
    • Automatic Variables
    • Demo Automatic Variables
    • External Variables
    • Demo External Variables
    • extern Keyword
    • Demo extern
    • Static Variables
    • Demo Static Variables
    • Register Variables
    • Demo Register Variables
    • Summary
  • Arrays
    • Introduction
    • Declaration and Accessing
    • Demo Salary Calculation of Employees
    • Multidimensional Arrays
    • Arrays to Functions
    • Demo Martix addition and substraction
    • Pointers and Arrays
    • Demo pointers and arrays
    • Strings
    • Demo Pallindrome of string
    • Summary
  • Structures and Unions
    • Structures
    • Defining and Accessing a Structure
    • Demo Employee Details
    • Structure as Function Argument
    • Demo Employee Details
    • Pointers and Structures
    • Demo Employee Details2
    • Unions
    • Demo Database Parse
    • Bit Fields
    • Demo On Off State
    • Summary
  • File Handling
    • Introduction
    • Create, Open and Close
    • Write to File
    • Read from Files
    • Demo Saving new Employee Data
    • Demo Read Saved Employee Data
    • Demo Appending new Employee Data
    • Demo Binary Format of Employee Data
    • Summary
  • Misc
    • typedef
    • Demo typedef
    • Dynamic Memory Allocation
    • Demo malloc
    • Demo calloc
    • Demo realloc
    • Command Line Arguments
    • Demo Leap year
    • Summary
  • Closure
    • Summary

Course Information

Estimated Time
10h 1m 39s


Author Information

Patan Amrulla KhanPatan Amrulla Khan