Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
DSA
22.3k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
C++ Programs
2.5k+ articles
C Language
1.8k+ articles
STL
1.2k+ articles
CPP Examples
700+ articles
CPP-Functions
600+ articles
cpp-vector
360+ articles
CPP-Library
240+ articles
Programming Language
>
C++
C++
5.1k+ posts
Popular Articles
Recent Articles
C++ Programming Language
Last Updated: 15 April 2025
C++ is a computer programming language developed by Bjarne Stroustrup as an extension of the C language. It is known for is fast speed, low
...read more
C++
Tutorials
30 OOPs Interview Questions and Answers [2025 Updated]
Last Updated: 30 April 2025
Object-oriented programming, or OOPs, is a programming paradigm that implements the concept of objects in the program. It aims to provide an
...read more
Java
Python
interview-preparation
placement preparation
C++
Interview-Questions
Interview Questions
2D Vector in C++
Last Updated: 11 January 2025
A 2D vector is a vector of the vector i.e. each element is a vector in itself. It can be visualised as a matrix where each inner vector repr
...read more
STL
cpp-vector
C++
Similar Topics
DSA
22.3k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
C++ Programs
2.5k+ articles
C Language
1.8k+ articles
STL
1.2k+ articles
CPP Examples
700+ articles
CPP-Functions
600+ articles
cpp-vector
360+ articles
CPP-Library
240+ articles
INT_MAX and INT_MIN in C/C++ and Applications
Last Updated: 11 January 2025
Most of the time, in competitive programming, there is a need to assign the variable, the maximum or minimum value that data type can hold,
...read more
C Language
C++
find() in C++ STL
Last Updated: 01 May 2025
C++ find() is a built-in function used to find the first occurrence of an element in the given range. It works with any container that suppo
...read more
STL
C++
cpp-strings-library
Decision Making in C (if , if..else, Nested if, if-else-if )
Last Updated: 02 April 2025
In C, programs can choose which part of the code to execute based on some condition. This ability is called decision making and the statemen
...read more
C Basics
CPP-Basics
C Language
C++
CBSE - Class 11
CPP-Control-Flow
C Decision Making
Command Line Arguments in C
Last Updated: 10 January 2025
The most important function of C is the main() function. It is mostly defined with a return type of int and without parameters.int main() {
...read more
C Language
C++
TCS
std::string class in C++
Last Updated: 11 January 2025
C++ has in its definition a way to represent a sequence of characters as an object of the class. This class is called std:: string. The stri
...read more
STL
cpp-string
C Language
C++
cpp-strings-library
DSA
Different Methods to Reverse a String in C++
Last Updated: 23 April 2025
Reversing the string means the last character will be the first character, second last character will be second character and so on. In C++,
...read more
STL
cpp-string
C++
C++ Basic Programs
Pair in C++ STL
Last Updated: 25 April 2025
In C++, pair is used to combine together two values that may be of different data types or same data types as a single unit. The first eleme
...read more
STL
C++
cpp-containers-library
cpp-pair
Queue in C++ STL
Last Updated: 03 March 2025
In C++, queue container follows the FIFO (First In First Out) order of insertion and deletion. According to it, the elements that are insert
...read more
STL
C++
cpp-containers-library
cpp-queue
List in C++ STL
Last Updated: 27 February 2025
In C++, list container implements a doubly linked list in which each element contains the address of next and previous element in the list.
...read more
STL
C++
cpp-containers-library
cpp-list
Pure Virtual Functions and Abstract Classes in C++
Last Updated: 11 January 2025
Sometimes implementation of all functions cannot be provided in a base class because we don't know the implementation. Such a class is calle
...read more
cpp-virtual
cpp-inheritance
C++
School Programming
Inline Functions in C++
Last Updated: 23 April 2025
In C++, inline functions provide a way to optimize the performance of the program by reducing the overhead related to a function call. When
...read more
CPP-Functions
C++
School Programming
Destructors in C++
Last Updated: 01 May 2025
Destructor is an instance member function that is invoked automatically whenever an object is going to be destroyed. Meaning, a destructor i
...read more
cpp-destructor
C++
School Programming
First
1
2
3
4
5
6
7
8
>>
Last
First
1
2
3
4
5
6
>>
Last
First
1
2
3
4
>>
Last
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !