C Programming

C is a general-purpose, middle-level, compiler-based, and procedure or function-oriented structured programming language. It was developed by Dennis Ritchie at Bell Laboratories in 1972. The main purpose of developing C was to write operating systems.

Related Pages

Different Types of Comments in C

In C programming, comments are the portion of the program intended for you and your fellow programmers to understand the code. In simple words, a description of a basic programming element is called comments. Comments are totally ignored by compilers. The Compiler does not generate executable code for these comments. C supports three types of

Different Types of Comments in C Read More »

Variables in C Language

In this tutorial, we will learn about variables in C language. What are the naming rules in the C language? Some special points for variables in the C language. Variables are the containers used to store the value in our program. Variable is a named memory location where we can store and manage the values

Variables in C Language Read More »

Data Types in C

Here we will discuss data types in the C language. How many types of data C language supports and which new data types were introduced in C99? A keyword that is used for creating variables for storing single and multiple values is called data types. Creating a variable for storing single and multiple values in

Data Types in C Read More »

Constants in C

In this tutorial, we will learn about constants in the C language. What are the character set and tokens in the C language? How many types of constants? What are integer constants, floating-point constants, character constants, string constants, boolean constants, complex constants? What are identifiers and keywords in the C language? What are the rules

Constants in C Read More »

Introduction to C Programming

Introduction to C programming | Here we will learn about what is C programming, the history of C programming, the features of C programming, the areas of application of C programming, and how C is platform dependent language. C is a general-purpose, middle-level, compiler-based and procedure or function-oriented structured programming language. It was developed by

Introduction to C Programming Read More »

Operators in C

Here we will discuss operators in the C language. What are unary, binary, and ternary operators? How many types of operations are performed in the C language? We will learn these concepts in detail. An operator is a special symbol designed for a particular task. Operators are used in the program to perform operations on

Operators in C Read More »

Pattern Programs in C

Pattern programs in C | Here we will write patterns programs in the C language. Some patterns and test cases are given, after observing those patterns we will write C programs to display them on the screen. To display patterns we need nested loops. Loops can be while or for loop, but writing programs using

Pattern Programs in C Read More »

Dynamic Memory Allocation in C

Dynamic Memory Allocation in C | There are 4 library functions defined under for dynamic memory allocation in C programming. malloc() :- Allocates requested size of bytes and returns a pointer first byte of allocated space. calloc() :- Allocates space for an array element, initializes to zero and then returns a pointer to memory. free()

Dynamic Memory Allocation in C Read More »