Skip to content

Tag Archives: Functions

The following article discusses the way to return a local variable created inside a function, which can be done by returning a pointer to the… Read More
Overview :C has two sets of binary stream files for reading and writing in UNIX: fread() and fwrite(). fwrite() is a function that writes to… Read More
Static Function: It is a member function that is used to access only static data members. It cannot access non-static data members not even call… Read More
Static Function: It is basically a member function that can be called even when the object of the class is not initialized. These functions are… Read More
Programming paradigm is an approach to solve problems using some programming language or also we can say it is a method to solve a problem… Read More
A programming paradigm is an approach to solve problems using some programming language or also we can say it is a method to solve a… Read More
The function midpoint() computes the midpoint of the integers, floating-points, or pointers a and b. Header File: <numeric> Parameters: This function accepts two data types… Read More
Higher-order functions are functions that take functions as an argument. It is used in functional languages which is not used in C++ are, although this… Read More
Functions are a way to break a program into different modules which are executed one by one. To use a function in Java we need… Read More
In this article, we are going to cover the LOG2() function that means it will calculate the logarithm of a specific number with base 2.… Read More
1. Mid() function : In MS Access the mid() function will extract the string from a given position. In this function 3 parameters will be… Read More
A function is a set of code that performs a specific task and can be used whenever needed just by calling it. While using multiple… Read More
A method is a collection of statements that perform some specific task and return the result to the caller. A method can perform some specific… Read More
Prerequisite: Hashing | Set 1 (Introduction)  What is a Hash Function?  A function that converts a given big phone number to a small practical integer… Read More
Given an integer N, the task is to find the value of F(N) if:   F(1) = 0 F(2) = 2 F(N) = 0, if N… Read More