Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
32.1K+ articles
Misc
7.8K+ articles
C++
3.7K+ articles
C++ Programs
1.5K+ articles
CPP-Functions
619+ articles
Programming Language
339+ articles
school-programming
240+ articles
CBSE - Class 11
102+ articles
C Basics
79+ articles
cpp-input-output
68+ articles
CPP-Basics
102+ posts
Recent Articles
Popular Articles
Constants in C++
Last Updated: 23 July 2025
In C++, const is a keyword used to declare a variable as constant, meaning its value cannot be changed after it is initialized. It helps protect important values from acci...
read more
C++
Picked
CPP-Basics
C++ Tokens
Last Updated: 23 July 2025
In C++, tokens can be defined as the smallest building block of C++ programs that the compiler understands. It is the smallest unit of a program into which the compiler di...
read more
C++
Picked
CPP-Basics
C++ Bit Fields
Last Updated: 28 April 2025
When we declare the members in a struct and classes, a pre-determined size is allocated for the member variables. In C++, we can compress that allocated size using bit fie...
read more
C++
Picked
CPP-Basics
C++ Identifiers
Last Updated: 23 July 2025
In C++ programming language, identifiers are the unique names assigned to variables, functions, classes, structs, or other entities within the program. Let's take a look a...
read more
C++
Picked
CPP-Basics
C++ Basic Syntax
Last Updated: 23 July 2025
Syntax refers to the rules and regulations for writing statements in a programming language. They can also be viewed as the grammatical rules defining the structure of a p...
read more
C++
CPP-Basics
C++ Comments
Last Updated: 23 July 2025
Comments in C++ are meant to explain the code as well as to make it more readable. Their purpose is to provide information about code lines. When testing alternative code,...
read more
C++
CPP-Basics
Nested if in C++
Last Updated: 06 February 2023
If is a type of condition checking in which a condition turns out to be true a block of statements is executed.Syntax:// if base_condition is true// every inside the { } b...
read more
Technical Scripter
C++
Picked
Technical Scripter 2022
CPP-Basics
Difference between cerr and clog
Last Updated: 23 July 2025
In C++ input and output are performed in the form of a sequence of bytes or more commonly known as streams. cerr and clog both are associated with the standard C error out...
read more
Misc
C++ Programs
Difference Between
C++
CPP-Basics
Object Delegation in C++
Last Updated: 23 July 2025
Introduction:Every programming language that is based on an object-oriented concept tries to connect everything to the real world.Similarly, C++ languages use classes, Inh...
read more
C++ Programs
C++
CPP-Basics
C++-Class and Object
Recursive lambda expressions in C++
Last Updated: 23 July 2025
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 a recursi...
read more
C++
CPP-Basics
CPP-Functions
Memory Limit Exceeded Error
Last Updated: 23 July 2025
Memory Limit Exceeded Error: It typically occurs when no memory limit has been set. It means that the program is trying to allocate more memory than the memory limit for t...
read more
C++ Programs
C++
CPP-Basics
Passing a Function as a Parameter in C++
Last Updated: 23 July 2025
Passing a function as an argument is useful in dynamically changing the behaviour of the function. This concept has already been used while passing a custom comparator fun...
read more
C++ Programs
Programming Language
C++
CPP-Basics
CPP-Functions
Encrypt and decrypt text file using C++
Last Updated: 23 July 2025
Encryption in cryptography is a process by which a plain text or a piece of information is converted into ciphertext or a text which can only be decoded by the receiver fo...
read more
C++
CPP-Basics
Why global array has a larger size than the local array?
Last Updated: 23 July 2025
An array in any programming language is a collection of similar data items stored at contiguous memory locations and elements can be accessed randomly using array indices....
read more
DSA
C Basics
CPP-Basics
Assigning function to a variable in C++
Last Updated: 23 July 2025
In C++, assigning a function to a variable and using that variable for calling the function as many times as the user wants, increases the code reusability. Below is the s...
read more
C++ Programs
C++
CPP-Basics
CPP-Functions
1
2
3
4
5
6
7
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 !