There comes situations in real life when we need to make some decisions and based on these decisions, we decide what should we do next.… Read More »
All variables use data-type during declaration to restrict the type of data to be stored. Therefore, we can say that data types are used to… Read More »
Operators are the foundation of any programming language. Thus the functionality of C/C++ programming language is incomplete without the use of operators. We can define… Read More »
As the name suggests Preprocessors are programs that processes our source code before compilation. There are a number of steps involved between writing a program… Read More »
C is a high level language and it needs a compiler to convert it into an executable code so that the program can be run… Read More »
Storage Classes are used to describe about the features of a variable/function. These features basically include the scope, visibility and life-time which help us to… Read More »
Static variables have a property of preserving their value even after they are out of their scope!
Each variable in C has an associated data type. Each data type requires different amounts of memory and has some specific operations which can be… Read More »
A variable in simple terms is a storage place which has some memory allocated to it. So basically a variable used to store some form… Read More »
Sizeof is a much used in the C programming language. It is a compile time unary operator which can be used to compute the size… Read More »
We have introduced arrays in set 1 (Introduction to arrays in C).
An array is collection of items stored at continuous memory locations. The idea is to declare multiple items of same type together.
What happens if there is a comment in header file name? Parsing of `#include’ is slightly special because comments are not recognized within the ”.… Read More »
Enumeration (or enum) is a user defined data type in C. It is mainly used to assign names to integral constants, the names make a… Read More »
Like Structures, union is a user defined data type. In union, all members share the same memory location.