What do you understand by passing by reference and passing by content?



What do you understand by passing by reference and passing by content?..

Answer / robertd903

Passing by reference, is passing the ADDRESS of a variable--to a subprogram. The subprogram is able to change the value contained in the variable.

Passing by content is passing the DATA contained within a variable--to a subprogram. The subprogram can NOT change the value of the data in the (calling program's) variable.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

What is the compute verb? How is it used?

0 Answers  


1.What is the limit of linkage section?

4 Answers  


when SE37 SB37 and sd37 occurs how to increase the volume , primary quantity and secondary quantity?

1 Answers   Hewitt,


What is LENGTH in COBOL II?

2 Answers   CSC,


How do you reference the fixed block file formats from cobol programs

0 Answers  






) how do u code after getting data?

0 Answers   IBM,


wht is structured cobol pgm and non structred cobol pgm ?

1 Answers   CTS, DELL,


for an INITIALIZE and what keyword allows for an override of the default.

2 Answers  


What do you do to resolve SOC-7 error?

2 Answers   Sun Life, Wipro,


What are VS COBOL 11 special features?

1 Answers  


What is the difference between a subscript and an index in a table definition?

3 Answers   TCS,


what is the minimum number of lines a Cobol program should have to successfully compile and run

7 Answers  


Categories