In this video tutorial lets see how we can make use of a macro template in a macro expansion.
Objective
We define PI in a macro, and then we use PI in expansion of another macro.
We shall also modify the same program to make use of constant M_PI present in math.h library file instead of macro template PI.
Note: M_PI is also a macro inside math.h library file.
C Programming Interview / Viva Q&A List
C Programming: Beginner To Advance To Expert