Macros are generally used for code reuse where as inline functions are used to eliminate the time overhead (excess time) during function call(avoiding a jump to a subroutine).
The key difference is type checking.
On this page of the site you can watch the video online Inline functions Vs Preprocessor with a duration of hours minute second in good quality, which was uploaded by the user Nitish Raj 02 March 2018, share the link with friends and acquaintances, this video has already been watched 5,660 times on youtube and it was liked by 58 viewers. Enjoy your viewing!