
Search In
If you want to count the presence of a element in a given range, then you can use the count() function defined in the STL algorithm.
It returns the number of variable inside a range whose value is equal to the given number.
Template for count
templ
If you want to reverse the order of elements in a given range, then you can use the reverse function defined in the STL algorithm.
Template for reverse
template <class BidirectionalIterator>
void reverse (BidirectionalIterator first, Bidire
Random shuffle function is used to randomly rearrange the elements in a given range. The random_shuffle function is defined in the STL algorithm.
Template for random_shuffle
template <class InputIterator>
void random_shuffle (InputIterator
In object oriented programming Association and Aggregation shows the relationship between the classes. Relationship in OOPS defines the connection between the objects. It basically shows how objects are attached to each other and how they will operat
C uses malloc() and calloc() function to allocate memory dynamically at runtime. Similarly it uses the function free() to free dynamically allocated memory.
New operator can be used to create objects of any type.It takes the following general form:
// C++ program to detect and remove loop
using namespace std;
struct Node
{
int key;
struct Node *next;
};
Node *newNode(int key) //Function to create a node
{
Node *temp = new Node;
temp->key = key;
temp->next = NUL
An Expression is a combination of operators, constants and variables arranged as per rules of language. It may also include function calls which return values. An expression may consist of one or more operators and zero or more operator to produce va
"Underscore.js" a tiny and powerful library with a minified size of 5.7kb. You can download this library from
http://underscorejs.org/underscore-min.js
This library support over hundred of functions which can be very useful in our day to
Position: Software Developer
Roles and Responsibilities:
Requirement gathering, design, development, testing of web applications using ASP .net
Maintain existing websites by identifying and correcting software defects
Design ar
REFERENCE--- A reference variable is initialized first. A reference variable is defined to indicate a variable and that reference variable can't point to the another variable. References can not be NULL.
e.g of reference variable is:
&nbs
