137k views
2 votes
Which structure is the following true for? For _________, the entire code is substituted for each call. Macros Both Macros and Procedures Neither Macros Nor Procedures Procedures

User Isick
by
5.7k points

1 Answer

5 votes

Answer:

Macros

Step-by-step explanation:

Macros:-These are a piece of code in a program that is given some name by the programmer according to the need. When the compiler encounters this name in the program it replaces the name with the code written in the macro. ‘#define’ is used to define a macro in C/C++.So the entire code is substituted for each call so we conclude that the answer is Macros.

User Weno
by
5.2k points