Skip to content

Category Archives: C++

Incedo Inc. visited our college, SRM Institute of Science and Technology in August’21, and everything was conducted in virtual mode. I applied for the role… Read More
Given an array arr[ ] of size N and an integer p, the task is to find maximum possible value of rightmost element of array… Read More
Given three variables that represent the hours, minutes, and the second, the task is to write a C++ program to normalize/convert the given time into… Read More
Pre-requisite: if-else This article focuses on discussing what happens when the print statement is used inside the if-else conditional statement. For example: Consider the below… Read More
Forward list in standard template library of C++. It comes under #include<forward_list> header file. It is implemented as a singly linked list. It was introduced… Read More
In C graphics, the graphics.h functions are used to draw different shapes like circles, rectangles, etc, display text(any message) in a different format (different fonts… Read More
Float is a 32 bit IEEE 754 single-precision Floating Point Number 1 bit for the sign, (8 bits for the exponent, and 23* for the… Read More
All variables use data type during declarations to restrict the type of data to be stored. Therefore, we can say that data types are used… Read More
An array is a collection of items stored at contiguous memory locations. It is to store multiple items of the same type together. This makes… Read More
C++ is a programming language, which has imperative and object-oriented programming(OOPs) features. It is referred to as a middle-level programming language. C++ was developed by… Read More
A Set is a collection of distinct elements. Elements cannot be modified once added. There are various operations associated with sets such as union, intersection,… Read More
In this article, the task is to create a 2- player cricket game where Player 1 is the user operating the program and Player 2… Read More
In this article, we will discuss how to create a binary file from the given text file. Before proceeding to the steps, let’s have an… Read More
There are some data structures that are supported by g++ compiler and are not a part of the C++ standard library. One of these is:… Read More
A recursive lambda expression is the process in which a function calls itself directly or indirectly is called recursion and the corresponding function is called… Read More