Learn the new technologies and Programming Languages here. Here the tutorials, hidden facts of Different technologies of programming languages like Python, Internet of Things(IoT), Arduino, Android, C language, Java and Placement questions.
Showing posts with label #define. Show all posts
Showing posts with label #define. Show all posts
Monday, September 5, 2016
Different variation of #define
1.
Labels:
#define,
Application,
BCA,
C language,
M.Tech,
Macro,
MCA,
placement,
technical
Location:
Delhi, India
Saturday, August 20, 2016
Preprocessor
Preprocessor is just the tools for text substitution. Preprocessor instructs the C compiler to do some work or processing which is to be done before compilation. Preprocessor is always start with #.Type of preprocessor are:
1. File Inclusion : #include
2. Macros: #define, #undef
3. Conditional : #if, #ifdef, #ifndef,#else, #elif,#error,#pragma,#endif
1. File Inclusion : #include
2. Macros: #define, #undef
3. Conditional : #if, #ifdef, #ifndef,#else, #elif,#error,#pragma,#endif
Friday, August 19, 2016
Macro
Macro is not a function , it is used as a substitution. #define just replace SQUARE(8) by 8*8 rather than 64.
Subscribe to:
Posts (Atom)