Software Development

Difference Between structure and 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

Programming Language

In today’s world of fast-changing technologies, it is important to identify the ones which you can pick up so as to help you secure a great job in the future. The world is more competitive than ever before. In this blog post, we will try to identify some key domains of Computer Science which if you can excel – you are guaranteed to get a good paying job.

Let us first talk about the scene of Programming languages.

Programming Languages

Choosing the right programming language, to begin with, will give you an edge over others. You should try to learn the languages that are hot in the market so as to make yourself more relevant to the potential employers. It also makes sense to focus on top programming languages of the future if you intend to look for a job in near future. Here are some of the programming languages that are trending in the market currently and would stay relevant – for sure – in near future:

Read more

Getting Started with Git

Introduction

In professional development environments, the code is written in teams of developers. From your colleague sitting around the corner to a remote developer living across the globe, anyone could be writing code with you and contributing to the same codebase. The best and most popular way to contribute code to a single codebase is Version Control Systems.

Version Control Systems

Version control systems are systems that allow us to contribute to and manage different releases and stages of a software product without actually having to keep multiple files or folders. They also make development within a team more manageable and less of a pain as developers don’t have to be trading folders, but rather communicate with a single source where all the changes are happening and everything is saved.

Read more

Merge Sort in C

Merge sort is one of the most powerful sorting algorithms. Merge sort is widely used in various applications as well. The best part about these algorithms is that they are able to sort a given data in O(nlogn) complexity as against O(n2) complexity (we will soon see how) of bubble sort and selection sort. Moreover, merge sort is of interest because it creates an excellent case study for one of the widely used techniques in Computer Science – divide and conquer.

Read more

Bubble Sort in C

Sorting of data is one of the most fundamental, yet an important problem in computer science. Sorting forms a great case study for those who want to learn data structures and algorithms.

What is Sorting – Definition

Often in real life, we are supposed to arrange data in a particular order. For instance, during our school days, we are told to stand in the queue based on our heights. Another example is of the attendance register at school/college which contains our names arranged in the alphabetical order.

Read more