What do you understand by passing by reference and passing by content?
Answer Posted / 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 View All Answers
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What is the difference between comp and comp-3 usage?
What is redefines clause in COBOL?
explain sorting techniques in cobol program?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
i need a small 3d program using inline and outline.
Write some characteristics of cobol as means of business language.
Which is not true about evaluate statement
A table has two indexes defined. Which one will be used by the SEARCH?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What type of SDLC u followed? Why?
How to know whether the module is dynamical or statistical?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What are declaratives and what are their uses in cobol?