Tutorials
Courses
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
DSA
19.9K+ articles
Python
19.6K+ articles
C++
3.7K+ articles
C Language
1.3K+ articles
cpp-class
58+ articles
cpp-constructor
37+ articles
Static Keyword
24+ articles
C-Variable Declaration and Scope
14+ articles
C++-Static Keyword
12+ articles
cpp-storage-classes
4 posts
Recent Articles
Popular Articles
Static Objects in C++
Last Updated: 14 March 2023
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
C++ mutable keyword
Last Updated: 13 February 2022
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
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
volatile Qualifier in C++
Last Updated: 05 July 2024
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
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 !