Skip to content

Category Archives: C++ Programs

In this article, we will discuss the short int data type in C++. This data type in C++ is used to store 16-bit integers. Some… Read More
In this article, we will discuss the unsigned short int data type in C++. It is the smallest (16 bit) integer data type in C++. … Read More
–> is called as “Goes to” in C/ C++ and compiles fine in every compiler including GCC and MSVN. This operator (–>) is not described… Read More
In this article, we will discuss the long long int data type in C++. long long int data type in C++ is used to store… Read More
The C++ program is written using a specific template structure. The structure of the program written in C++ language is as follows: Documentation Section: This… Read More
The strtok() function is used in tokenizing a string based on a delimiter. It is present in the header file “string.h” and returns a pointer… Read More
Maps are associative containers that store elements in a specific order. It stores elements in a combination of key values and mapped values. Syntax: map<data… Read More
Online shopping is all about calculating the total amount for the items selected by the customer. In this article, we will discuss a menu-driven C++… Read More
Given an array arr[] of size N and an integer K, the task is to find all the array elements that appear more than (N… Read More
Given a binary string S, the task is to write a program for DFA Machine that accepts a set of all strings over w ∈… Read More
In this article, we will discuss the int data type in C++. It is used to store a 32-bit integer.  Some properties of the int… Read More
Given an array arr[] of size N, the task is to find the bitwise AND of all possible unordered pairs present in the given array.… Read More
In this article, we will discuss the unsigned long long int data type in C++. It is the largest (64 bit) integer data type in… 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
The list doesn’t have random access operator [] to access elements by indices, because std::list internally store elements in a doubly-linked list. So, to access… Read More

Start Your Coding Journey Now!