C Programming MCQ

1:

The use of macro in the place of functions

A.

reduces execution time

B.

increases code size

C.

increases execution time

D.

both (a) & (b)

 

Answer : D

Explanation :

Use of functions involves storing the current contents and branching to its starting address. These things add to the execution time. On the other hand, macro substitution increases the code size. This is of serious concern, if the macro is used in many places.

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.