Skip to content

Tag Archives: CPP-Functions

In C/ C++, like normal data pointers(int *, char *, etc), there can be pointers to functions. Every function created in a program gets an… Read More
In this article, we will discuss the immediate function used in C++. Immediate Function: In C++20, an immediate function is a function where every call… Read More
find(): The find() function is used to search the element in the given range and every STL container has the functionality to search the element… Read More
Just like other subroutines, overloaded subroutines are also called. To decide which function to invoke it is important to determine the number and type of… Read More
The isdigit(c) is a function in C which can be used to check if the passed character is a digit or not. It returns a… Read More
Standard Output Stream(cout): The C++ cout statement is the instance of the ostream class. It is used to display output on the standard output device… Read More
The std::is_trivially_assignable template of C++ STL is present in the <type_traits> header file. The std::is_trivally_assignable template of C++ STL is used to check whether a… Read More
The std::underlying_type template of C++ STL is present in the <type_traits> header file. The std::underlying_type template of C++ STL is used to get the underlying… Read More
The std::is_member_function_pointer template of C++ STL is present in the <type_traits> header file. The std::is_member_function_pointer template of C++ STL is used to check whether the… Read More
The std::is_nothrow_destructible template of C++ STL is present in the <type_traits> header file. The std::is_nothrow_denstructible template of C++ STL is used to check whether T… Read More
The std::remove_volatile template of C++ STL is present in the <type_traits> header file. The std::remove_volatile template of C++ STL is used to get the T… Read More
In this article, we will discuss the difference between sort(), partial_sort(), and nth_element()+sort(). Below is the illustration of the above functions: sort(): C++ STL provides… Read More
Library function: These function are the built-in functions i.e., they are predefined in the library of the C. These are used to perform the most… Read More
The std::remove_const template of C++ STL is present in the <type_traits> header file. The std::remove_const template of C++ STL is used to get the type… Read More
The std::unary_negate() is a wrapper function object returning the complement of the unary predicate it holds. A wrapper function is a subroutine in a software… Read More