what is call by value and call by reference ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / pradeep reddy
call by reference is a defoult if we change farmal
parameters then actual parameters also get changed..
call by value: its user defined if we change farmal
parameters not effected actual parameters...
| Is This Answer Correct ? | 15 Yes | 3 No |
Answer / raghunathareddy
call by value means intialize the vatriable..cal by ref means
calling the reference....
| Is This Answer Correct ? | 6 Yes | 7 No |
Can we put move statement in COBOL copybook
what is level 66 means??
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
Suppose i have a Cobol field of 10 byte. it contains a decimal sign.How to know where is the point location?
What is the difference between NEXT SENTENCE and CONTINUE?
what is the advantage of sync class
What are the cobol coding sheets?
There is a variable with value 19446. Requirement is to convert it to 194.46. I tried it by doing divide by 100 and my receiving field data type is 9(03)v99. But the output is 194. I am not getting the decimal value. Could anyone pls let me know how to get this done?
Can we use redefine clause in occurs clause?
CAN ANY ONE HELP WHAT IS QTP? why it is nessery AND WEN IT IS USED?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
What will happen if you code GO BACK instead of STOP RUN in a stand alone COBOL program ?
8 Answers Arigo Infotech, IBM,