Macro With Argument v/s Function: C Program
Satish B
https://technotip.com/8511/macro-with-argument-vs-function-c-program/
In today's video tutorial lets see the difference between a Macro with argument and a simple function.
The trade off is between memory space and time.
If memory is not an issue, then you can simply use Macros – as it brings in speed of execution as an advantage. But if memory space is an issue – if you’re writing for a mobile device, then it’s better to go with functions. Though its slower, it uses less memory space.
C Programming Interview / Viva Q&A List https://technotip.com/6378/c-programming-interview-viva-qa-list/
C Programming: Beginner To Advance To Expert https://technotip.com/6086/c-programming-beginner-to-advance-to-expert/ ... https://www.youtube.com/watch?v=kVQsekPnbMU
11336450 Bytes