Algorithm and Flowchart to find Factorial of a number

This is the tutorial we will write an algorithm to find the factorial of a number, we will also learn to draw a flowchart to find Factorial of a number. You may go through the topic below to learn more about algorithms. Algorithm in C Let us start with a flowchart for factorial numbers. Flowchart to … Read more

C++ Classes and Objects

C++ is an Object-Oriented Programming Language and classes and objects are the fundamental components of OOP’s. Everything in C++ is linked with classes and objects. The main purpose of C++ is to introduce the OOPs concept in the C programming language which itself is a powerful language. Objects are real-life entity and classes are the blueprint … Read more

C++ Object Oriented Programming (OOP) Concepts

The main purpose of C++ is to introduce the OOPs concept in C programming language which is a powerful language. OOP is a concept of using objects in programming. It is a paradigm that uses objects and classes that aim to implement real-world entities. The entities such as inheritance, abstraction, polymorphism, etc that are used in programming. … Read more

Java Program to check Krishnamurthy Number

In this tutorial, we will learn about Krishnamurthy numbers and write a Krishnamurthy Number program in Java. We will write two programs for Krishnamurthy number in java. Krishnamurthy Number A number is said to be a Krishnamurthy Number if the sum of the factorial of all digits of a number is equal to the original … Read more

Java Program for ISBN Number

In this tutorial, we will learn about the ISBN (International Standard Book Number) and write a program to check for the ISBN Number in Java ISBN number program in java. ISBN is a 10-digit unique number that is is carried by almost each and every book. It is used to identify the book uniquely. With … Read more

C++ Memory Management

Memory management refers to the process of managing the computer memory while assigning the space to the program’s variable to improve the overall performance. Requirement of Memory Management. We know that data in arrays are stored in a homogeneous way. And we allocate the memory during the array declaration. But in some situations, we may … Read more

C++ Pointer to Pointer

As we know by now that a pointer stores the address of the pointed variable. But it is not the only use, pointer also stores the address of another pointer forming a chain like structure. When we defined the pointer to a pointer, it means the first pointer contains the address of the second pointer … Read more

C++ Passing Pointers to Functions

A function is a user-defined block of codes that executes some specific task assigned to it invoked by its name. If there is an argument to be passed while calling a function then it is called actual arguments. There are two ways to call a function: call by value call by reference In a first … Read more

C++ Null Pointer

We use a null pointer when we do not have the exact address to assign to a pointer. It is considered a good practice and null is assigned at the time of declaration. Therefore the pointer with a null value is called a null pointer. Check the C++ example for the null pointer. Output: The … Read more

C++ Pointers and Arrays

In this section, you will learn how pointers and arrays are related to each other. Before that, you should have knowledge on the following topics in C. C++ Arrays C++ Pointers Pointers and arrays are strongly related to each other. In general, the name of the array is a pointer itself, it points to the … Read more