Pointer is the most important and powerful tool in C language. Pointer resolves many complicated problems easily but if you don’t have the sufficient knowledge of pointers, you will face problems like segmentation fault etc.
In this article, I will describe five common pointer mistakes in C programming which generally occurs.
Continue reading Five common pointer mistakes in C programming
Write a C program to implement queue data structure using linked list. In this post I will explain queue implementation using linked list in C language.
In previous post, I explained about queue implementation using array. Here, I will explain how to implement a basic queue using linked list in C programming. Along with I will explain how to perform enqueue and dequeue operations on Queue in C language.
Continue reading Queue implementation using linked list, enqueue and dequeue in C
Write a C program to implement stack data structure using linked list with push and pop operation. In this post I will explain stack implementation using linked list in C language.
Continue reading Stack implementation using linked list, push, pop and display in C
Dynamic memory allocation refers to the process of manual memory management (allocation and deallocation). Dynamic memory allocation in C is performed via a group of built-in functions
free(). Some text also refer Dynamic memory allocation as Runtime memory allocation.
Continue reading Dynamic memory allocation in C programming
Data at the centric level is most crucial part of every program that you have written. All programs contain memory allocation, deallocation and data manipulation. In this article, I am going to discuss about memory allocation and different ways to allocate memory in C.
Continue reading Compile time and runtime memory allocation