Learning Path for Programming Journey. Start Now


Quick Sort in C

Similar to merge sort in C, quick sort in C follows the principle of decrease and conquer, or as it is often called, divide and conquer. The quicksort algorithm is a sorting algorithm that works by selecting a pivot point, and thereafter partitioning the number set, or array, around the pivot point.

Also known as partition-exchange sort, quicksort was developed by Tony Hoare, a British computer scientist, in 1959. Since its publishing in 1961, quicksort has become one of the top choices in sorting algorithms.

Read more

C vs C++

C and C++ are two of the oldest surviving programming languages. The latter is directly derived from the former but flaunts more efficiency and productivity. Of course, both programming languages have their own advantages and drawbacks over one another.

C++ is an enhanced version of the C programming language with an additional feature of being object-oriented. C has been the motivation behind the birth of not only C++ but a multitude of presently popular high-level programming languages to the likes of Java, PHP, and Python.

Read more

Binary Search in C

A binary search is a simplistic algorithm intended for finding the location of an item stored in a sorted list. There are a few variations to the binary search in C program, such as testing for equality and less-than at each step of the algorithm.

Binary search in C is an example of a simple process that can be used to dissolve complex problems. As such, it is an important foundational concept that you will find in almost all the good books on the C programming language.

Read more

Best C & C++ Books

C and C++ are two of the most popular programming languages used around the world. While C is a core language, C++ is an extension of the C language. The possibilities are endless with these languages, which is why ventures of all shapes and sizes employ them due to its scalability and viability. As the languages stay on top, the number of people learning it is increasing by the minute. If you wish to learn C and C++, then starting it all with a book is a great idea. We have curated a list of the 5 best C books & 5 best C++ books recommended by the programming community. Irrespective of your programming proficiency, you will find a book that will suit your requirements.

Read more

Structure vs Union

In C/C++, Structures and Union are two user-defined data types. In this blog post, we will try to understand how they both work and how exactly are they different from each other.

Understanding a Structure (struct)

Struct is a user-defined data-type that’s used to store a combination of data which can potentially belong to different data-types. To explain further, think about how you can store information about a student in C/C++, where, you need to store the following parameters:

Read more