How should a programmer decide whether to use a macro or a
subroutine to accomplish a given logical function



How should a programmer decide whether to use a macro or a subroutine to accomplish a given logica..

Answer / sumegha sharma

if a programmer wants to call a function by call by
reference method then he should use macro or if by call by
value method then he should use subroutine.

Is This Answer Correct ?    8 Yes 11 No

Post New Answer

More Programming Languages AllOther Interview Questions

what is difference between c and C#

12 Answers   MCN Solutions,


what is woransient key word? how it is used in java

0 Answers   Convergys,


Wrtite a JCL for sorting a file with start from 36 postion lenth 9 excluding a num eq to 98768. for 3 marks mainframe

0 Answers  


What is the client concept in SAP? What is the meaning of client independent?

3 Answers  


will it allow to add same value in HashMap class.

0 Answers  


To sorting array of 10 elements which sorting is best a)selection b)bubble c)tree sort

2 Answers   HP, Hughes,


I'm new to ABAP. What is Module pool in SAP?

0 Answers   TCS,


When we have two versions of the dot net installed how does the compiler know which version of DLL it has to select to an application.

0 Answers   Tesco,


What is the difference between windows 98/2000/XP Operating Systems?

16 Answers   CMS, Siemens, TCS,


a characteristic of a multiprogramming is? a.simultaneous exe of pgm instr 4m 2 appli b.concurrent processing of 2 r more prgms c.multiple cpu s d.all the abov

0 Answers   TCS,


What is the effect of the OPTIONS statement ERRORS=1?

3 Answers   QSG, Quintiles, SAS,


what is mutex?

4 Answers   Axiom, Blue Star, SQL Star,


Categories