“I bought this guide a few days ago to prepare for my interview with Oracle. Many of the questions they asked me were from this guide. I found this book absolutely great!”
If I will ask you a question : what is the diff. between inline function and macros . then the answer will be preprocessor puts the macros in code rather than compiler. so here there is no compilation .
preprocessors:
#ifdef/ifndef
#else/elif
#endif
#pragma
By using the Preprocessor:
for Example:
#define NotCompile 1
#if NotCompile
// Do something here.
#endif
If I will ask you a question : what is the diff. between inline function and macros . then the answer will be preprocessor puts the macros in code rather than compiler. so here there is no compilation .
Let me know If I am wrong .
Leave an Answer/Comment