C Language

vector in C

How to implement a vector in C

In my previous article, I explained how to create a dynamic array in C. After reading the post, Many readers requested a guide on implementing a vector in C. A vector is essentially a dynamic array that stores a collection of elements same type in a contiguous memory. It has the ability to resize itself

How to implement a vector in C Read More »

recursion in C

Recursion in C

Recursion is a process in which function call itself and the function that calls itself directly or indirectly called a recursive function. A recursive function calls itself so there can be several numbers of the recursive call, so the recursive function should have the termination condition to break the recursion. If there is a not

Recursion in C Read More »