C Programming Language Tutorial


This tutorial is designed for software programmers with a need to understand the C programming language starting from scratch. This C tutorial will give you enough understanding of the C programming language from where you can take yourself to a higher level of expertise. Before proceeding with this tutorial, you should have a basic understanding of Computer Programming terminologies. A basic understanding of any of the programming languages will help you in understanding the C programming concepts and move fast on the learning track.

C programming is a general-purpose, procedural, imperative computer programming language developed in 1972 by Dennis M. Ritchie at the Bell Telephone Laboratories to develop the UNIX operating system. C is the most widely used computer language. It keeps fluctuating at the number one scale of popularity along with the Java programming language, which is also equally popular and most widely used among modern software programmers.

Why Learn C Programming?

C programming language is a MUST for students and working professionals to become great Software Engineer especially when they are working in Software Development Domain. I will list down some of the key advantages of learning C Programming:

Easy to learn

  • Structured language
  • It produces efficient programs
  • It can handle low-level activities
  • It can be compiled on a variety of computer platforms

C Programming Language Tutorial

What is C Programming Language

History of C Programming Language

Features of C Programming Language

Beginning with C Programming Language

Compilation Process in C Programming Language

printf scanf in C Programming Language

Variables in C Programming Language

Data Types in C Programming Language

Keywords in C Programming Language

C Identifiers 

C Operators

C Comments

C Format Specifier

C Escape Sequence

ASCII value in C Programming Language

Constants in C Programming Language

Literals in C Programming Language

Tokens in C Programming Language

C Boolean

Static in C Programming Language

Programming Errors in C Programming Language

Compile-time vs Runtime

Conditional Operator in C Programming Language

Bitwise Operator in C Programming Language

2s complement in C

C Fundamental Test

Control Statements in C Programming Language

C if-else

C switch

if-else vs switch

C Loops

C do-while loop

C while loop

C for loop

Nested Loops in C Programming Language

Infinite Loop in C Programming Language

C break

C continue

C goto

Type Casting

C Control Statement Test

Functions in C Programming Language

What is function

Call: Value & Reference

Recursion in c

Storage Classes

C Functions Test

Array in C Programming Language

1-D Array

2-D Array

Return an Array in C

Array to Function

C Array Test

Pointers in C Programming Language

C Pointers

C Pointer to Pointer

C Pointer Arithmetic

Dangling Pointers in C

sizeof() operator in C

const Pointer in C

void pointer in C

C Dereference Pointer

Null Pointer in C

C Function Pointer

Function pointer as an argument in C

C Pointers Test

Dynamic Memory in C Programming Language

Dynamic memory

Strings in C Programming Language

String in C Programming Language

C gets() & puts()

C String Functions

C strlen()

C strcpy()

C strcat()

C strcmp()

C strrev()

C strlwr()

C strupr()

C strstr()

C String Test

Math in C Programming Language

C Math Functions

Structure Union in C Programming Language

C Structure

typedef in C

C Array of Structures

C Nested Structure

Structure Padding in C

C Union

C Structure Test

File Handling in C Programming Language

C File Handling

C fprintf() fscanf()

C fputc() fgetc()

C fputs() fgets()

C fseek()

C rewind()

C ftell()

Preprocessor in C Programming Language

C Preprocessor

C Macros

C #include

C #define

C #undef

C #ifdef

C #ifndef

C #if

C #else

C #error

C #pragma

C Preprocessor Test

Command-Line in C Programming Language

Command Line Arguments

Misc in C Programming Language

C Expressions

Data Segments

The flow of the C Programming Language

Classification of Programming Languages

Enum in C

What is getch() in C

What is the function call in C

typedef vs define in C

Programming Test in C Programming Language

C Programming Test

Basic C Programs in C Programming Language

Top 10+ C Programs

Fibonacci Series

Prime Number

Palindrome Number

C program to compare the two strings

Strings Concatenation in C


Armstrong Number

Sum of digits

Count the number of digits in C

Reverse Number

Swap Number

Print "Hello" without ;

Assembly code in C

C program without main

Matrix Multiplication

Decimal to Binary

Number in Characters

Alphabet Triangle

Number Triangle

Fibonacci Triangle

Hexadecimal to Binary

Hexadecimal to Decimal

Octal to Hexadecimal in C

Strong number in C

Star Program in C

itoa Function in C

Extra Long Factorials in C

Leap year program in C

Perfect Number Program in C

Variables vs Constants

Round Robin Program in C with Output

C Program to find the roots of quadratic equation

Type Casting vs Type Conversion

How to run a C program in Visual Studio Code

Modulus Operator in C/C++

Sum of first N natural numbers in C

Big O Notation in C

LCM of two numbers in C

while loop vs do-while loop in C

Memory Layout in C

Balanced Parenthesis in C

Binary to Decimal Number in C

GCD of two numbers in C

Getchar() function in C

flowchart in C

Simpson Method

Pyramid Patterns in C

Random Function in C

Floyd's Triangle in C

C Header Files

abs() function in C

Atoi() function in C

Structure Pointer in C

sprintf() in C

Range of Int in C

C Program to convert 24 Hour time to 12 Hour time

What is double in C

What is the main in C

Calculator Program in C

Calloc in C

user-defined vs library function in C

Memset C

ASCII Table in C

Static function in C

Reverse a String in C

Twin Prime Numbers in C

strchr() function in C

Structure of a C program

Power Function in C

Malloc in C

Table Program in C

Types of Recursion in C

Convert Uppercase to Lowercase in C

Unary Operator in C

Arithmetic Operator in C

Ceil Function in C

Relational Operator in C

Assignment Operator in C

Pre-increment and Post-increment Operator in C

Pointer vs array in C

Restrict keyword in C

The exit() function in C

Const Qualifier in C

Sequence Points in C

Anagram in C

Increment and Decrement Operators in C

Logical AND Operator in C

Shift Operators in C

Near, Far, and Huge pointers in C language

Magic Number in C

Remove Duplicate Elements from an Array in C

Generic Linked list in C

isalnum() function in C

isalpha() function in C

Bisection Method in C

snprintf() function in C

Remove an element from an array in C

Square Root in C

isprint() function in C

isdigit() function in C

isgraph() function in C

Logical NOT (!) Operator in C

Math in C Programming Language

Prime Numbers List

Composite Numbers List

Square Numbers List

Binary Numbers List

Fibonacci Numbers List

Ounces in a Cup

Ounces in a Pound

Ounces in a Gallon

Ounces in a Liter

Ounces in a Pint

Ounces in a Quart

Ounces in a Tablespoon

Interview in C Programming Language

C Interview Questions