What all the difference between Macros and Inline functions. Why do they prefer inline functions? When Do macros come in use?
What are the disadvantages of Macros and inline functions?
thanks in advance
on 03/05/2010 – Made popular on 03/05/2010
If I open any file in Linux kernel almost every file has many extern functions and many #indef or #ifndef macros so while compiling how exactly does it map all the functions and macros when more than 70 included header files inside a .c/.h file?
How exactly and how fast does it do this task? And is GCC only responsible for these things or is there some other program which does all these tasks?