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
37.4K+ articles
DSA
22.8K+ articles
Misc
8.7K+ articles
C++
4.3K+ articles
C Language
1.8K+ articles
C Programs
705+ articles
CPP-Functions
619+ articles
C++ Quiz
42+ articles
C-Macro & Preprocessor
18+ articles
cpp-macros
11+ articles
Macro & Preprocessor
6 posts
Recent Articles
Popular Articles
#pragma Directive in C
Last Updated: 09 January 2024
In C, the #pragma directive is a special purpose directive that is used to turn on or off some features. #pragma also allows us to provide some additional information or i...
read more
Misc
C Language
C-Macro & Preprocessor
Macro & Preprocessor
errno constant in C++
Last Updated: 14 August 2021
errno is a preprocessor macro used for error indication.The value of errno is set to zero at program startup, and any function of the standard C++ library are allowed to w...
read more
Misc
C Language
C++
C++ Quiz
DSA
CPP-Functions
cpp-macros
Macro & Preprocessor
include guards in C++
Last Updated: 17 August 2023
While programming in C++ we often use a class multiple times, and hence it requires to create a header file and just include it in the main program. Now, sometimes it happ...
read more
C++ Programs
C++
CPP-Basics
Macro & Preprocessor
Types of pragma directives in C
Last Updated: 04 April 2021
Pragma Directives: The pragma directive is used to control the actions of the compiler in a particular portion of a program without affecting the program as a whole. Pragm...
read more
C Programs
C Language
C Macro
C-Macro & Preprocessor
Macro & Preprocessor
#define vs #undef in C language
Last Updated: 22 June 2023
In this article, we will discuss the difference between #define and #undef pre-processor in C language.What are Pre-Processor Directives?Pre-processor is a program that pe...
read more
C Programs
C Language
C-Macro & Preprocessor
Macro & Preprocessor
C Preprocessor Directives
Last Updated: 21 May 2025
In C programming, the preprocessor is a program that process the source code before the actual compilation begins. It uses preprocessor directives are commands that instru...
read more
C Language
C++
C Basics
cpp-macros
C-Macro & Preprocessor
Macro & Preprocessor
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 !