adplus-dvertising
frame-decoration

Question

Choose a correct statement about C Macro?

a.

Macro template(eg. PI or function) will be replaced by Macro Expansion(3.1428) as many number of times as it appears in the C program increasing Source Code size in bytes.

b.

Macros increase program speed when compared to functions.

c.

Functions use less memory as the program code is written and placed only one place in source code. Macros put function code everywhere it is called again and again.

d.

All of the above

Posted under C Programming

Answer: (d).All of the above

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Choose a correct statement about C Macro?