geeksforgeeks
Data Structure
Java
Python
HTML
Interview Preparation
  • Interview Prep
  • Tutorials
  • Tracks
  • DSA
  • Practice Problems
  • C
  • C++
  • Java
  • Python
  • JavaScript
  • Data Science
  • Machine Learning
  • Courses
  • Linux
  • DevOps
Similar Topics
Web Technologies32.1K+ articles
DSA20.0K+ articles
Python19.6K+ articles
C++3.7K+ articles
C Language1.3K+ articles
cpp-class58+ articles
cpp-constructor37+ articles
Static Keyword24+ articles
C-Variable Declaration and Scope14+ articles
C++-Static Keyword12+ articles

cpp-storage-classes

4 posts
volatile Qualifier in C++
Last Updated: 23 July 2025
volatile keyword in C++ is used to declare variables that can be modified by external factors outside the program's control. This qualifier informs the compiler that the v...read more
C++ Programs
C++
Picked
cpp-storage-classes
CPP Examples
Redeclaration of global variable in C
Last Updated: 28 May 2017
Consider the below two programs:C // Program 1int main(){ int x; int x = 5; printf(%d, x); return 0; } Output in C: redeclaration of ‘x’ with no link...read more
C Language
cpp-storage-classes
C-Variable Declaration and Scope
C++ mutable keyword
Last Updated: 23 July 2025
The mutable storage class specifier in C++ (or use of mutable keyword in C++)auto, register, static and extern are the storage class specifiers in C. typedef is also consi...read more
C++
cpp-storage-classes
Static Objects in C++
Last Updated: 23 July 2025
Prerequisite: Static Keyword in C++An object becomes static when a static keyword is used in its declaration. Static objects are initialized only once and live until the p...read more
C++
cpp-class
cpp-storage-classes
cpp-constructor
C++-Static Keyword
Static Keyword
GeeksforGeeks
location
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
location
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play StoreGFG App on App Store
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Campus Training Program
  • Explore
  • POTD
  • Job-A-Thon
  • Blogs
  • Nation Skill Up
  • Tutorials
  • Programming Languages
  • DSA
  • Web Technology
  • AI, ML & Data Science
  • DevOps
  • CS Core Subjects
  • Interview Preparation
  • Software and Tools
  • Courses
  • ML and Data Science
  • DSA and Placements
  • Web Development
  • Programming Languages
  • DevOps & Cloud
  • GATE
  • Trending Technologies
  • Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
  • Preparation Corner
  • Interview Corner
  • Aptitude
  • Puzzles
  • GfG 160
  • System Design
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved