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
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
When is inspect verb is used in cobol?
Differentiate between structured cobol programming and object-oriented cobol programming.
What is report-item in COBOL?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
HOw can I get the negative sign while deduct high value from low value
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
) how do u code after getting data?
What are the access modes of START statement?
In COBOL, what is the different between index and subscript?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
Which division and paragraphs are mandatory for a COBOL program?
How do you reference the following file formats from cobol programs?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
Write a program to enter and display the names of students in a class using the occurs clause.