What is "Call by content" and "call by reference"?
Answer Posted / shiva
call by reference passes address of variable to the subprogram
and any changes to this variable will affect the main program
this is bcoz they have allocated the same memory..
whereas in call by content the value of the variable is
passed to the subprogram and any changes to that variable
does not affect the main pprogram..this is bcoz they have
allocated seperate memories.......
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is difference between static and dynamic call in cobol?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
how do you reference the variable block file formats from cobol programs
What is the difference between external and global variables in COBOL?
HOw can I get the negative sign while deduct high value from low value
What is inspect in cobol ?
How do you reference the fixed block file formats from cobol programs
how to refer the data field?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What is amode(31)
Name the sections present in data division.
What is the difference between comp and comp-3 usage?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
Write the code implementing the perform … varying.
What is cobol?