
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 26504 Articles for Server Side Programming

2K+ Views
In this article we will be discussing the working, syntax, and examples of multimap::insert() function in C++ STL.What is Multimap in C++ STL?Multimaps are the associative containers, which are similar to map containers. It also facilitatesto store the elements formed by a combination of key-value and mapped value in a specific order. In a multimap container there can be multiple elements associated with the same key. The data is internally always sorted with the help of its associated keys.What is multimap::insert()?multimap::insert() function is an inbuilt function in C++ STL, which is defined in header file. insert() is used to insert ... Read More

193 Views
In this article we will be discussing the working, syntax, and examples of multimap::max_size() function in C++ STL.What is Multimap in C++ STL?Multimaps are the associative containers, which are similar to map containers. It also facilitates to store the elements formed by a combination of key-value and mapped value in a specific order. In a multimap container, there can be multiple elements associated with the same key. The data is internally always sorted with the help of its associated keys.What is multimap::max_size?multimap::max_size() function is an inbuilt function in C++ STL, which is defined in header file. max_size() is used ... Read More

202 Views
In this article we will be discussing the working, syntax, and examples of multimap::rbegin() function in C++ STL.What is Multimap in C++ STL?Multimaps are the associative containers, which are similar to map containers. It also facilitates to store the elements formed by a combination of key-value and mapped value in a specific order. In a multimap container, there can be multiple elements associated with the same key. The data is internally always sorted with the help of its associated keys.What is multimap::rbegin()?multimap::rbegin() function is an inbuilt function in C++ STL, which is defined in header file. rbegin() implies reverse ... Read More

163 Views
In this article we will be discussing the working, syntax, and examples of multimap::rend() function in C++ STL.What is Multimap in C++ STL?Multimaps are the associative containers, which are similar to map containers. It also facilitates to store the elements formed by a combination of key-value and mapped value in a specific order. In a multimap container, there can be multiple elements associated with the same key. The data is internally always sorted with the help of its associated keys.What is multimap::rend()?multimap::rend() function is an inbuilt function in C++ STL, which is defined in header file. rend() implies reverse end ... Read More

494 Views
In this article we will be discussing the working, syntax, and examples of multimap::begin() and multimap::end() functions in C++ STL.What is Multimap in C++ STL?Multimaps are the associative containers, which are similar to map containers. It also facilitates storing the elements formed by a combination of key-value and mapped value in a specific order. In a multimap container, there can be multiple elements associated with the same key. The data is internally always sorted with the help of its associated keys.What is multimap::begin()?multimap::begin() function is an inbuilt function in C++ STL, which is defined in header file. begin() is ... Read More

2K+ Views
In this article we will be discussing the working, syntax, and examples of multimap::erase() function in C++ STL.What is Multimap in C++ STL?Multimaps are the associative containers, which are similar to map containers. It also facilitates storing the elements formed by a combination of key-value and mapped value in a specific order. In a multimap container, there can be multiple elements associated with the same key. The data is internally always sorted with the help of its associated keys.What is multimap::erase()?multimap::erase() function is an inbuilt function in C++ STL, which is defined in header file. erase() is used to ... Read More

162 Views
In this article, we will be discussing the working, syntax, and example of multimap equal ‘=’ operator in C++ STL.What is Multimap in C++ STL?Multimaps are the associative containers, which are similar to map containers. It also facilitates storing the elements formed by a combination of key-value and mapped value in a specific order. In a multimap container, there can be multiple elements associated with the same key. The data is internally always sorted with the help of its associated keys.What is multimap equal to ‘=’ operator?multimap::operator= is equal to operator. This operator is used to copy the elements from ... Read More

269 Views
In this article, we will be discussing the working, syntax, and examples of multimap::swap() function in C++ STL.What is Multimap in C++ STL?Multimaps are the associative containers, which are similar to map containers. It also facilitates storing the elements formed by a combination of key-value and mapped value in a specific order. In a multimap container, there can be multiple elements associated with the same key. The data is internally always sorted with the help of its associated keys.What is multimap::swap()?multimap::swap() function is an inbuilt function in C++ STL, which is defined in header file. swap() is used to ... Read More

2K+ Views
In this article, we will be discussing the working, syntax, and examples of strchr() function in C++ STL.What is strchr()?strchr() function is an inbuilt function in C++ STL, which is defined in the header file. strchr() function is used to find when the character first occurred in the string. This function returns the pointer to the location where the character first appeared in the string.If the character doesn’t exist in the string the function returns the null pointer.Syntaxchar* strchr( char* str, char charac );ParametersThe function accepts the following parameter(s)−str − It is the string in which we have to ... Read More

267 Views
In this problem, we are given an array of n elements. Our task is to print xor of all prime numbers of the array.Let’s take an example to understand the problem,Input − {2, 6, 8, 9, 11}Output −To solve this problem, we will find all the prime numbers of the array and the xor them to find the result. To check if the element is prime or not, we will use sieve’s algorithm and then xor all elements that are prime.ExampleProgram to show the implementation of our solution, Live Demo#include