Spread and Rest Operator in JavaScript

JavaScript (ECMAScript) is one of the powerful scripting language which provides many features to developer. In the first place, it is the technology which makes a website lively. Not to mention, there are many ways to do a task in JavaScript. This language might not have been started with that planning, but the standards are … Read more Spread and Rest Operator in JavaScript

Implement Queue in C – Example

In the previous post, we implemented stacks, which is quite useful in real life. However, there is another data structure that we see everyday around us, which we call it a queue. In computer science, we can find its applications in simulations, print spooling, processes, and many more. Before starting to implement queue with an … Read more Implement Queue in C – Example

Implement Stacks in C – Example

In the previous post, we implemented linked list in C. In the same way, now we are going to implement stacks in c programming language by an example. We will be using a self-referential structure which stores an integer. Let’s see the example first, It is a bit easier to implement than that of stack … Read more Implement Stacks in C – Example

Implement Linked List in C

Before starting to implement linked list in C, let’s see what self-referential structures are. Also, you need to know about dynamic memory allocation, which you can find here in this link. For example, let’s define a structure like below: In the above struct node, we have two members, viz. integer member data and pointer member … Read more Implement Linked List in C

Dynamic Memory Allocation in C

Introduction In this post, we will learn about the dynamic allocation of memory in C. Also, we should be able to understand the pointers because we will be dealing with memory. To learn about pointers, please visit this link here. Dynamic Memory Allocation in C It requires dynamic memory allocation to create and maintain dynamic … Read more Dynamic Memory Allocation in C

Pointers in C – String Implementation

In the previous blog post, I wrote about the relationship between pointer and array. I suggest you reading that post before starting here because this is an extension of that post. In this post, I would like to show you the implementation of string using pointers in C programming language. An Example In C programming … Read more Pointers in C – String Implementation

Pointers in C – Array Implementation

In the previous article, we looked briefly on what pointers are. Furthermore, we learnt a simple implementation of pointers. In this post, I would like to go a bit further and explain you about relationship of pointers with arrays. So, let’s move into pointers in C and its array implementation. First of all, we have … Read more Pointers in C – Array Implementation

Pointer in C and its implementation

As we all know, C is the first language that many programmers learn during their career in programming. One of the reasons why C programming is different from many other high level programming languages is that, it give the access to memory to the programmer through pointers. For this reason, one should have a better … Read more Pointer in C and its implementation