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 |
How does IDMS insure data integrity?
I have two files , file1 is input file it contains 10,20,30,....,records but i want to display the records in file 2 as reverse order .how can we do by using jcl& cobol(dont use array) please any one can tell me the answer
What is the difference between next sentence and continue in cobol programing language?
Can we use icetool in cobol program?
How is sign stored in a comp-3 field?
How many types of sorts are there in cobol?
Consider the following COBOL entries: 05 X PIC 99 VALUE 10. SUBTRACT 20 FROM X. The resultant value of X wil be
I want to declare a field with data type Double in my COBOL program. how shall i do that ?
a. Can the OPTIONAL clause in COBOL only be coded for input files? b. If it is coded for files opened in OUTPUT, I-O or EXTEND mode, will it give a compilation error? c. If there are no compilation errors and if such files are not coded in the JCL, will the OPEN statement run fine when these files are opened? d. How will a WRITE statement work for the above files?
Sending data is aplhabetic size 7 (value 3000), I wantated this value to be stored in database, which is defined as s9(7)v9(2)comp-3.
what is soc7 abend?how u can trace it?
How To move a value to an array using move verb?