In this post, I will discuss Sum Of Digit Of A Number Using Recursion through C++ Programming. Given a number, we need to find sum of its digits using recursion. Examples: Now, the step by step process for a better…

In this post I am going to discuss a program called, Entered Number A Spy Number Or Not Through C++ Program. What is a Spy Number? When you enter a natural number like 1124 then sum up its digit is…

Here we are going to solve the maximum height of an elevation possible such that adjacent matrix cells have a difference of at most height 1. Please follow the steps, Suppose a matrix mat][][] of size M x N which represents the topographic map…

There are lots of features missing in java that is available in C++. Java has no Pointer. So we can’t write this above code on java. Java has no sizeof() operator. Java has no Scope Resolution Operator (: 🙂 Local…

Given a positive integer number N, the task is to seek out the closest number to the given integer number N. If there are Fibonacci Numbers having same distinction from N, then print the smaller value. Approach How To Solve The Problem Step By Step: If N is equal to 0, then print 0 as the…

In this article, we’ll learn about storage classes present/used in C++. So, first of all we should know what is a storage class and what does it do? Storage Class: It is basically a class of storage which the compiler…

Well, as we know there are different types of the operator in C++. But, before moving into the topic you must know about some terminology like keywords which we discussed earlier, if you are new please do refer to them…

Expression is a combination of variable, constant, operator, function calls which return values. Expression can contain one or more operands and 0 or more operators. These all are arranged according to the rules of C++. So, there are different types…

Our program does some operations to provide us with results or output. The program does it’s operations through use of operators. The entities on which operators act are called operands. There are different types of operators in C++. Some of…