Posts by Nishant Soni

Author Biographical Info: Not available

C++ Implementation of Ackermann Function

By Nishant Soni

Today we will learn about the famous Ackermann recursion function using C++ program. The Ackermann function is named after Wilhelm Ackermann, this function defines exactly how ther.... Read More

C++ Program Reverse Bits of a Number

By Nishant Soni

Today we will learn how to reverse the bits of a number and display the value of the reversed number in C++ programming. For this problem we will have to use concepts of bitwise ma.... Read More

C++ program to swap bits in a number

By Nishant Soni

Today we will learn how to swap bits in C++ language. Given an integer n and two-bit positions a1 and a2 inside it, swap bits at the given positions. The given positions are from t.... Read More

Babylonian method to find square root in C++

By Nishant Soni

Today we will learn the Babylonian method to find the square root using C++. This method basically originates from the newton-raphson method. We all know what a square root of a nu.... Read More

Related Posts