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
8.4k 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
7.8k points

Related questions

asked May 23, 2024 211k views
Vivek Vermani asked May 23, 2024
by Vivek Vermani
7.6k points
2 answers
5 votes
211k views