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 the use MDM(Master Data Management)and meaning

0 Answers  


What is the difference between COM and CORBA?

0 Answers   Yahoo,


what is the difference between a looping statement and a decision statement

3 Answers  


2. What do you mean by DHCP?

1 Answers  


Describe the difference between Interface-oriented, Object-oriented and Aspect-oriented programming

1 Answers  






what are the advantages of sap on other software ?

0 Answers  


Describe the following: (i) DNS (ii) Name Resolution (iii) Subnet Masking (iv) Urgent Pointer

1 Answers  


preorder of A*(B+C)/D-G

6 Answers   BFL,


When will you use shell script/Perl ahead of C/C++?

0 Answers   Yahoo,


5.Call by value and Call by reference with program?

0 Answers  


What is the output of the following x = "abcdef" i = "a" for i in x: print(i), a) no output b) i i i i i i … c) a a a a a a … d) a b c d e f

0 Answers   Peerless,


Differevce between arrays and array builders?

0 Answers  


Categories