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

this question is from sas:what is the difference between FILE and INFILE statements? plz explain in brief?

1 Answers  


What parameters are used to run a JCL JOB on a perticular DAY and TIME and DATE

1 Answers  


what are the differences between CONS, LIST, and APPEND

0 Answers   Comtech,


I need to fetch all rows from the table based one field value in the table and later do a condition check if the condition is true I will have to move all the rows present in the data base to output file one else if the condition is not satisfied then move all the records of that field value into another file .Please let me know how to do that

0 Answers  


Diff.b/w Frames and container?

1 Answers   Tech Mahindra, Wipro,






in IBM PC -AT.WAT AT REFERS TO?

0 Answers   IBM,


. With the help of above table EMP, perform the following operation is sql. a) Add the new column “DEPTNO” b) Rename the table c) Update table d) Modify the table if column ‘SAL’ whose data type is number (10) and you want to enter varchar2 (15) . For example $USD 20 etc.

2 Answers  


How does the type system works when there is interoperability between a COM and .Net, i mean what exactly happens there

0 Answers   247Customer,


major characteristics of software system

0 Answers  


What is the worst case of AVL tree?

1 Answers  


How many ways we can fill a dataset in .Net

1 Answers   iGate,


How do you initialize a static member of a class with return value of some function?

0 Answers   Yahoo,


Categories