Iterate over the words in a string in C++

By Raghav Khandelwal

In this tutorial, we will learn how to iterate over the words in a string in C++. A string is a data type in C++ used to store an array of characters. A string is different from a .... Read More

How to fetch JSON data in Node.js

By Siddharth Saurav

Hello programmers, Today you will learn how we can fetch JSON data in a Node.js app. Here, our JSON data will be stored in the local machine. As we are working with files so firstl.... Read More

Nested While Loops In Python With Examples

By Aditi Deo

Loops are significant in python as without them we would have to repeat instructions all over again which could be time-consuming for a programmer. A while loop simply evaluates a .... Read More

Constructor in Python

By Hussain Quadri

In this tutorial, we will learn about Constructor in Python. In Object-oriented Programming, a special kind of method is used to instantiate an object. It initializes values to the.... Read More

Function Prototype in C++ with examples

By Raghav Khandelwal

In this tutorial, we are going to learn about the function prototypes in C++. What is function prototyping? A function prototype is basically a declaration of the function that tel.... Read More

Count the number of Upper cases in a string in C++

By Gagan Gupta

In this tutorial, we will learn to write the code to count all the upper cases alphabets in a string in C++ #include <iostream> using namespace std; int main() { int i; int u.... Read More

How to find size of an array in Swift

By Shubhodh Amaravadi

In this tutorial, we are going to learn how to find the size of an array in Swift. There are two ways to get the total number of elements in the array. They are: Using count proper.... Read More

Passing a function as a parameter in C++

By Raghav Khandelwal

In this tutorial, we are going to learn about passing a function as a parameter in C++. A function is a block of code that is used for performing certain actions and runs only when.... Read More