Skip to content
geeksforgeeks
  • 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
Similar Topics
DSA
22.3k+ articles
C++
4.1k+ articles
Difference Between
3.9k+ articles
C++ Programs
2.4k+ articles
C Language
1.9k+ articles
School Programming
1.4k+ articles
CPP Examples
700+ articles
CPP-Functions
600+ articles
Programming Language
370+ articles
C Basics
76 articles

CPP-Basics

90+ posts
Passing a Function as a Parameter in C++
Last Updated: 25 April 2025
Passing a function as an argument is useful in dynamically changing the behaviour of the function. This concept has already been used while ...read more
CPP-Basics
CPP-Functions
Programming Language
C++
C++ Programs
Const keyword in C++
Last Updated: 06 August 2024
In this article, the various functions of the const keyword which is found in C++ are discussed. Whenever const keyword is attached with any...read more
image
Technical Scripter
CPP-Basics
C++
C++-const keyword
C++ Programming Basics
Last Updated: 11 October 2024
C++ is a general-purpose programming language and is widely used nowadays for competitive programming. It has imperative, object-oriented, a ...read more
CPP-Basics
C++
Similar Topics
DSA
22.3k+ articles
C++
4.1k+ articles
Difference Between
3.9k+ articles
C++ Programs
2.4k+ articles
C Language
1.9k+ articles
School Programming
1.4k+ articles
CPP Examples
700+ articles
CPP-Functions
600+ articles
Programming Language
370+ articles
C Basics
76+ articles
Introduction to C++ Programming Language
Last Updated: 18 March 2025
C++ is a general-purpose programming language that was developed by Bjarne Stroustrup as an enhancement of the C language to add object-orie...read more
image
CPP-Basics
C++
What are Forward declarations in C++
Last Updated: 28 November 2019
Forward Declaration refers to the beforehand declaration of the syntax or signature of an identifier, variable, function, class, etc. prior ...read more
image
CPP-Basics
Programming Language
C++
C++ Variables
Last Updated: 10 March 2025
In C++, variable is a name given to a memory location. It is the basic unit of storage in a program.The value stored in a variable can be ac...read more
image
CPP-Basics
C++
School Programming
Basic Input / Output in C++
Last Updated: 02 May 2025
In C++, input and output are performed in the form of a sequence of bytes or more commonly known as streams.Input Stream: If the direction o ...read more
cpp-input-output
CPP-Basics
C++
school-programming
CBSE - Class 11
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
image
C Basics
CPP-Basics
C Language
C++
CBSE - Class 11
CPP-Control-Flow
C Decision Making
C++ Data Types
Last Updated: 17 March 2025
Data typesspecify the type of data that a variable can store. Whenever a variable is defined in C++, the compiler allocates some memory for ...read more
CPP-Basics
C++
school-programming
CBSE - Class 11
Writing First C++ Program - Hello World Example
Last Updated: 23 April 2025
The "Hello World" program is the first step towards learning any programming language and is also one of the most straightforward programs y ...read more
C Basics
CPP-Basics
C++
School Programming
school-programming
CBSE - Class 11
switch vs if else
Last Updated: 10 November 2022
Prerequisite - Switch Statement, Decision making(if else) A switch statement is usually more efficient than a set of nested ifs. Deciding wh ...read more
CPP-Basics
java-basics
Difference Between
Switch Statement in C++
Last Updated: 11 January 2025
In C++, the switch statement is a flow control statement that is used to execute the different blocks of statements based on the value of th...read more
image
CPP-Basics
C++
C++ Loops
Last Updated: 21 March 2025
In C++ programming, sometimes there is a need to perform some operation more than once or (say) n number of times. For example, suppose we w ...read more
C Basics
CPP-Basics
C++
School Programming
school-programming
CBSE - Class 11
Object Oriented Programming in C++
Last Updated: 07 May 2025
Object Oriented Programming - As the name suggests uses objects in programming. Object-oriented programming aims to implement real-world ent...read more
image
CPP-Basics
cpp-class
cpp-inheritance
C++
C Programming Language Standard
Last Updated: 24 January 2025
Introduction:The C programming language has several standard versions, with the most commonly used ones being C89/C90, C99, C11, and C18.C89 ...read more
C Basics
CPP-Basics
C Language
1 2 3 4 5 6 7 >>
Last
1 2 3 4 5 6 >>
Last
1 2 3 4 >>
Last
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
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
Lightbox