C++ String Concatenation

C++ String Concatenation In this section, we will learn about C ++ String Concatenation, what it does, how it works, and will also see its programs. What is the String Concatenation? The + operator can be used to form a new …

Read moreC++ String Concatenation

Vector resize() in C++

Vector resize() in C++ Vectors are called dynamic arrays and can automatically adjust their size when a component is added or deleted. This container is used for storage. The function modifies the real content of the container by inserting or …

Read moreVector resize() in C++

Storage Classes in C

Storage Classes in C Storage Classes are used to define the variable and function property. These functionalities include basically the scope, accessibility, and lifetime that help us detect the existence of a particular variable during a program’s runtime. auto register …

Read moreStorage Classes in C

Heap Sort

Heap Sort Heapsort is executed on the structure of the heap data. We know heap is a complete tree in binary form. The heap tree can be of two different types: Min-heap, or heap max. The root element is minimal …

Read moreHeap Sort

Interval Tree

Interval Tree Interval Tree: The concept is to increase a Binary Search Tree self-balancing such as Red Black Tree, and AVL Tree, so that every feature can be completed in time O(Logn). Each Interval Tree node stores information following. I: An interval …

Read moreInterval Tree

Unary Operators in C++

Unary operators in C++ Unary operator: is operations that function to produce a new value on a single operand. a) unary minus: A minus operator modifies the argument’s symbol. A positive number becomes negative, so it becomes a positive negative …

Read moreUnary Operators in C++

C++ Mutable keyword

C++ mutable keyword Mutable class storage specifier in C++ Storage class specifiers in C are auto, register, static, and external. Typedef is also considered as a specifier of the storage class in C. C++ also supports all of those specifiers …

Read moreC++ Mutable keyword

C++ Friend Functions

C++ Friend Functions A class friend function is defined from outside class, but it does have access to all members of the private and protected class. With the definitions for friend functions occurring in the explanation of class, friends are …

Read moreC++ Friend Functions