Advantages of using macro

Describe the advantages of using macro.

In modular programming, using functions is advisable when a certain code is repeated several times in a program. However, every time a function is called the control gets transferred to that function and then back to the calling function. This consumes a lot of execution time. One way to save this time is by using macros. Macros substitute a function call by the definition of that function. This saves execution time to a great extent.
Self-referential structure
A self referential structure is used to create data structures like linked lists, stacks, etc.....
Structures and union
C structures and union - A structure is a user defined data type, which groups a set of data types. It is a collection of variables of different type under single name......
Properties of Union
Properties of Union - A union is utilized to use same memory space for all different members of union. Union offers a memory section to be treated for one variable type.....
Post your comment