C Programming: Different Articles on C Programming

Differences Between malloc and calloc in C Programming

Differences Between malloc and calloc in C Programming

In C programming, dynamic memory allocation allows us to allocate memory at runtime. Two commonly used functions for this purpose are malloc and calloc. While…

Control Flow in C Programming – The for and while Loop

In C programming, controlling the flow of the program is the key to unleashing the true potential of your code. In this article, we will…

Operators in C Programming

In C Programming, operators are symbols or keywords used to perform operations on values and variables. These are fundamental to performing various operations in C…

Structure in C Programming

A structure is combination of different data types. Lets take the example of a book, if we cant to declare a book we will be…

A Complete Guide to using Double Pointer in C: Pointer-to-Pointer

A pointer can be declared to point to another pointer which points to a variable. Here, the first pointer contains the address of the second…

Difference between char[] and char* in C? Character Array and Pointer

Generally, the following two statements about char[] and char * in C are considered confusing and understanding the difference between them is important. The first…

What are #ifndef and #define Directives?

In the C Programming Language, the #ifndef directive checks if the given token has been #defined earlier in the C code. If the token has…

Ternary Operator with examples in C

In C Programming, ternary operator allows executing different code depending on the value of a condition. The returned value is the result of the expression…

256-Color VGA Programming in C

This tutorial covers many topics in VGA programming in the C programming language. Tutorial assumes that the programmers have a comprehensive understanding of C and…

Union in C Programming

A union in C programming is a user defined data type which may hold members of different sizes and type. Union uses a single memory…