C Tutorials

Pointer in C

In this tutorial, we will learn about Pointer in C. C Pointer are variables which store the address of another variable. We can create a Pointer variable of any type such as int, char, array, function, or any other pointer. Before going further it is important to know that how we can declare a pointer …

Pointer in C Read More »

String in C

In this tutorial, we will learn about the String in C. String is collection of character but in the background, the string is One-dimensional array is used to which terminates with null character ‘\0’. The null character at the end of the string tells the compiler about the end of the string Initializing a String …

String in C Read More »

Array in C

In this tutorial, we will learn about Array in C. Array is a collection of the same type(data type) of elements which stored at contiguous memory locations. We can create an array using ant primitive data type such as int, float, double, char, etc of any particular type. To store elements in an array and …

Array in C Read More »

Constants in C

In this tutorial, we will learn about Constants in C. Constants are fixed values. It means after defining a variable we can not change value. These fixed values are also called literals. Defining Constants in C: There are two simple ways in C to define constant − Using #define preprocessor. Using const keyword. The #define Preprocessor Please check out the …

Constants in C Read More »

Functions in C

In this tutorial, we will learn about Functions in C. While writing programs there are many situations when we need to perform the same kind functionality many times. So it means we have to write the same code multiple times in the program. To overcome this kind of problem we have concept called functions in …

Functions in C Read More »

Looping Statements in C

In this tutorial, we will learn about Looping Statements in C. Looping statements helps us to run a piece of code for multiple time. There are many situations while coding when we need to run a piece of code multiple times. There are a total of three looping statements available in C. for loop while …

Looping Statements in C Read More »

Storage classes in C

In this tutorial we will learn about Storage classes in C. The storage class defines the visibility and the life-time of a variable or a function during the execution of a program. There are total four storage classes available in C language which are as follow. Available Storage classes in C: auto register static extern …

Storage classes in C Read More »

Operators in C

In this tutorial, we will learn about Operators in C programming language. Operators are special symbols that we use to perform special operations such as the addition of two numbers(variables). C provides us with a wide range of operators which help us to perform special operations. In C, all the operators are divided into different …

Operators in C Read More »

Variable and DataTypes in C

In this tutorial, we will learn about Variable and DataTypes in C programming language. The main motive of variables is to store data in memory while the execution of a C program. The value of variables can be changed throughout the execution of the program and we change reuse variable any number of times throughout …

Variable and DataTypes in C Read More »