Rishi
Pattern Programming — You Are Doing It Wrong!
Half star pyramid is the most common pattern which we come across while writing code to print patterns in any language. Take a look at this pattern:- *************** One approach that might come to mind is “ the number of stars in each row is equal to the number of row (I mean index of … Read more
Pure Vs Impure Functions In Javascript
In this post, we will see the difference between pure functions and high-order functions in javascript. What are Pure Functions in Javascript? Functions which does not produce side effect are called pure function. This means that it does not depend on any external variable (like global). Also, it does not modify any external variable. Such … Read more
Everything About useState Hook in React
useState is one of the first hooks I came across while learning React. It is easy to understand/use but equally fascinating/confusing at the same time ( just on click of a button, things update on-screen 😮). Let’s dive in!!! Why useState Hook? React does not detect change in normal variables that’s why useState hook is required. … Read more
How To Use Firebase With MIT App Inventor 2
Use firebase with MIT app inventor for your upcoming IOT projects or app development. You can integrate firebase with MIT app inventor in just 3 steps.
String Trim Functions In C (Remove Leading And Trailing Space)
Standard string library of c lacks trim(), ltrim() and rtrim() functions. If you have some basic knowledge of MySQL or PHP,surely you gonna miss them in C. But if know how to play with character arrays (i.e. strings) you can incarnate them in C. This C tutorial will explain you string trim functions in C. … Read more
How To Play Videos In Ubuntu Default Media Player
If you are using Windows and recently moved to Ubuntu (Linux), you may initially encounter some errors. One of most common problem you may face just after Ubuntu installation is regarding media player. In this post, we are going to short out this problem. So keep reading to know how to play videos in Ubuntu … Read more