We often need to store an array in a variable. So here in this post, I am going to let you know how you can check whether a variable is an array or not in PHP. So let’s conti.... Read More
In this tutorial, we are going to learn how to print the right-angled triangle in Python. Using for loop we can print the right-angled triangle. To understand this you should know .... Read More
Today We will be understanding how to define a struct in C++. So Read On… How To Define A Struct in C++ Table of contents: What is struct Syntax and example of a struct Defin.... Read More
This tutorial is about the advantages of reference variables over pointer variables in C++. A reference variable is an alias for a variable whereas a pointer variable points to an .... Read More
Today we will be learning what setw() function in C++ is and how it’s used. This setw() function belongs to the iomanip library of C++. Syntax: setw() setw(int n) n is the pa.... Read More
In this tutorial, we will learn how to unpack a tuple in Python. In Python, tuples are similar to lists and are declared by parenthesis/round brackets. Tuples are used to store imm.... Read More
In this tutorial, we will learn to sum all the factors of a number in Python. Before start, we should now what is factors and how two find factors of a number. Factors are numbers .... Read More
In this tute, we will discuss how to get common elements between two Arrays in JavaScript. Prior to getting into the topic, let’s see what is an array. An array is a special .... Read More