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 made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
Why did you choose to work with ibm mainframe cobol programming?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
how to move the records from file to array table. give with code example
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Are you comfortable in cobol or jcl?
what are decleratives in cobol?
IF I mention stop run in CICS what happens?
Name some of the examples of COBOl 11?
What are different data types in cobol?
What is the difference between perform … with test after and perform … with test before?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
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 a report item?