C Tutorial

C Language Tutorial for beginners to learn C online for free.

C programming is the widely used System programming language to create applications. C provides a base for all programming languages. It is easy & simple to learn.

C Tutorial covers C language Syntax, variables, data types, functions, pointers, file handling and other concepts.

In this online C course, you will learn how to write & execute C programs step by step. You will also find useful exercise, codes, Interview Questions to enhance your knowledge at the end of each chapter.

C Introduction

What is C Programming Language? C is a general-purpose programming language that is used to develop firmware or applications. C programming provides base for all programming languages. Most of the modern programming…

C Features

C is a widely used language because it provides a lot of features. Some of the features are given below: Modularity Portability Extendability Speed Powerful Memory Management Pointers 1. Modularity Modularity is…

C Basic Program Structure

It is always useful to know about the different parts of the C program. It will be helpful for understanding the programs in upcoming chapters. Let us learn about the basic program…

C printf and scanf

The printf() function is used to display output and the scanf() function is used to take input from users. The printf() and scanf() functions are commonly used functions in C Language. These functions are inbuilt library functions in header files…

C Comments

Comments are the non-executable code used to provide documentation for the C program. Comments provide details about the code so that other users can easily understand the code by reading those comments….

C Variables

In simple words, variable is a name given to memory box with a name, where we can “store” some value. Its value can be changed depending upon conditions and it can be…

Constants in C

Constant in C means the content whose value does not change at the time of execution of a program. C Constants are also like normal variables. But, the only difference is, their…

C Constants

C Constants refer to fixed values whose values remain the same during the whole program. Constants can be of any of the basic data types like an integer constant, a floating constant,…

C Data Types

A data type is a classification that specifies which type of value a variable can store. We need to define data types of each variable during variable declaration. Each data types requires…

C Operators

Like other programming languages, C language also supports the set of operators to perform a different kind of operations on variables.Now, the question arises, What is Operator? Operator An Operator is defined…

C Functions

Mostly we see that every C program has at least one function such as main(). We can use more than two C Functions in a single C Program.A function is a group…

C Pointers

C Pointers are the variables whose value is the address of another variables.Pointer Syntax : data_type *var_name; Example : int *p; char *p; Here, * is used to denote that the pointer…

C File Handling

C File handling is an important part of a software application. We mostly need to open the file and process the following tasks: Opening a File Reading a File Writing a File…