[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.
Interview Questions and Answers :: Cisco

3. Difference between macro and inline functions ?

Answer:

1. Inline follows strict parameter type checking, macros do not.
2. Macros are always expanded by preprocessor, whereas compiler may or may not replace the inline definitions.
3. Compiler has no idea about macros, compiler knows about inline functions.
4. Inline follows strict parameter type checking, macros do not.
5. Macros are always expanded by preprocessor, whereas compiler may or may not replace the inline definitions.

Post Your Answer Here:      Public      Private

Rate This: +0 -0
Report     

Post Your Reply Here:     

Report Error

Report Error

Please Login First Click Here