what is call by value and call by reference ?
Answer Posted / srinivasa yadav
CALL BY VALUE: THE MEMORY AREA FOR ACTUAL AND FORMAL
PARAMETERS ARE DIFFERENT.
CALL BY REFERENCE: THE MEMORY AREA FOR ACTUAL AND FORMAL
PARAMETERS ARE SAME. SO WHATEVER VALUES HAS CHANGED IN
FORMAL PARAMETERS WILL BE EFFECTED TO ACTUAL PARAMETERS.
| Is This Answer Correct ? | 24 Yes | 2 No |
Post New Answer View All Answers
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
What the difference is between continue and next sentence?
What is the compute verb? How is it used?
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?
how can i see junk values in dclgen or in hostvariable of comp ?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What is Pic 9v99 Indicates in COBOL?
What is the difference between perform … with test after and perform … with test before?
How do you differentiate between cobol and cobol-ii?
A table has two indexes defined. Which one will be used by the SEARCH?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.